ikev2 policy
To specify an IKEv2 policy name, use the
ikev2 policy
command in configuration mode.
ikev2 policy policy-name
Syntax Description
IKEv2 policy name upto 32 characters.
policy-name
Command Default
None
Command Modes
Configuration
Command History
Modification
Release
This command is
introduced.
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
7 19:26:45.752 UTC
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
7 19:29:25.043 UTC
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
7 19:30:30.343 UTC
Policy Name
: mypolicy
===============================================================================
Total number of match local addr
: 1
Match address local
: 10.0.0.1
-------------------------------------------------------------------------------
Total number of proposal attached
: 1
Proposal Name
: proposal1
Command Reference for Cisco NCS 1004
33
Commands
ikev2 policy