An IKE policy defines a combination of security parameters (IKE proposals) to be used during IKE negotiation. The policy defines a peer address, the preshared key for the given peer, and the proposals needed for that connection. During the IKE negotiation, IKE searches for an IKE policy that is the same on both peers. The peer that initiates the negotiation sends all its policies to the remote peer, and the remote peer tries to find a match.
A match is made when both peer policies have a proposal that contains the same configured attributes. If the lifetimes are not identical, the shorter lifetime between the two policies is used. The configured preshared key must also match its peer.
![]() |
Note: You can create an IKE access profile that uses the IKE policy to negotiate IKE and IPSec security associations with dynamic peers. You can configure only one tunnel profile per service set for all dynamic peers. The configured preshared key in the profile is used for IKE authentication of all dynamic peers terminating in that service set. You can also use the digital certificate method for IKE authentication with dynamic peers. For more information about IKE access profiles, see the JUNOS System Basics Configuration Guide. For detailed information, see the JUNOS Services Interfaces Configuration Guide. |
To configure an IKE policy:
Table 31: Configuring IKE Policy