ikev2 policy
To configure any parameters for the Internet Key Exchange Version 2 (IKEv2) policy, use the ikev2 policy command in XR Config mode.
ikev2 policy name { match { address local address | vrf { name | any } } | proposal name }
Syntax Description
name |
Specifies the name for the IKEv2 policy |
match |
Specifies that a match type follows |
address local address |
Specifies the ip address of the local interface to be associated with this IKEv2 profile |
vrf |
Configures VRF profile for the IKEv2 policy. |
name |
Specifies the name of the dedicated VRF profile |
any |
Specifies that the IKEv2 policy can use any matching VRF profile in the router. |
proposal name |
Specifies the IKEv2 proposal for the IKEv2 policy |
Command Default
None
Command Modes
XR Config modeCommand History
Release |
Modification |
---|---|
Release 7.8.1 |
This command was introduced. |
Usage Guidelines
Before configuring IKEv2 policy, an IKEv2 proposal must be available in your router.
Examples
This example shows how to create a IKEv2 policy:
RRouter# configure
Router (config)# ikev2 policy ikev2_policy_P2 match address local 5.22.16.52
Router (config)# ikev2 policy ikev2_policy_P2 match fvrf any
Router (config)# ikev2 policy ikev2_policy_P2 proposal ikev2_proposal_P1
Router (config)# commit