[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring the SA Direction

To configure the IPSec SA direction, include the direction statement at the [edit security ipsec internal security-association manual] hierarchy level:

direction (bidirectional | inbound | outbound);

The value can be one of the following:

If you do not configure the SA to be bidirectional, you must configure SA parameters for IPSec tunnels in both directions. The following example uses an inbound and outbound IPSec tunnel:

[edit security]
ipsec {
internal {
security-association {
manual {
direction inbound {
protocol esp;
spi 512;
encryption {
algorithm 3des-cbc;
key ascii-text “$.KL3rngIH7,theOPcn87lxfpe9GJKdme”;
}
}
direction outbound {
protocol esp;
spi 513;
encryption {
algorithm 3des-cbc;
key ascii-text “.n87lngIH7,thxefpe9GJKdme.KL3rOPc”;
}
}
}
}
}
}

[Contents] [Prev] [Next] [Index] [Report an Error]