The direction statement sets inbound and outbound IPSec processing. If you want to define different algorithms, keys, or security parameter index (SPI) values for each direction, you configure the inbound and outbound options. If you want the same attributes in both directions, use the bidirectional option.
To configure the direction of IPSec processing, include the direction statement and specify the direction at the [edit security ipsec security-association sa-name manual] hierarchy level:
- [edit security ipsec security-association sa-name manual]
-
direction (inbound | outbound |
bidirectional);
For sample configurations, see the following sections: