Commands
ikev2 policy
To specify an IKEv2 policy name, use the ikev2 policy command in configuration mode.
ikev2 policy policy-name
Syntax Description
policy-name
None
Command Default
Configuration
Command Modes
Command History
Release
Release
7.0.1
Example
The following is a sample in which an IKEv2 policy is configured.
RP/0/RP0/CPU0:ios#configure
Thu Mar
RP/0/RP0/CPU0:ios(config)#ikev2 policy mypolicy
RP/0/RP0/CPU0:ios(config-ikev2-policy-mypolicy)#proposal proposal1
RP/0/RP0/CPU0:ios(config-ikev2-policy-mypolicy)#match address local 10.0.0.1
RP/0/RP0/CPU0:ios(config-ikev2-policy-mypolicy)#commit
Thu Mar
RP/0/RP0/CPU0:ios(config-ikev2-policy-mypolicy)#exit
RP/0/RP0/CPU0:ios(config)#exit
RP/0/RP0/CPU0:ios#show ikev2 policy mypolicy
Thu Mar
Policy Name
===============================================================================
Total number of match local addr
Match address local
-------------------------------------------------------------------------------
Total number of proposal attached
Proposal Name
IKEv2 policy name upto 32 characters.
Modification
This command is
introduced.
7 19:26:45.752 UTC
7 19:29:25.043 UTC
7 19:30:30.343 UTC
: mypolicy
: 1
: 10.0.0.1
: 1
: proposal1
Command Reference for Cisco NCS 1004
ikev2 policy
33