use

crypto-ikev1/ikev2-peer commands

Associates IKEv1/IKEv2 policy with the IKEv1/IKEv2 peer respectively

Supported in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

Syntax

use ikev1-policy <IKEV1-POLICY-NAME>
use ikev2-policy <IKEV2-POLICY-NAME>

Parameters

use ikev1-policy <IKEV1-POLICY-NAME>
use ikev1-policy <IKEV1-POLICY-NAME> Specify the IKEv1 policy name.

The local IKEv1 policy and the peer IKEv1 policy must have matching group settings for successful negotiations.

use ikev2-policy <IKEV2-POLICY-NAME>
use ikev2-policy <IKEV2-POLICY-NAME> Specify the IKEv2 policy name.

The local IKEv2 policy and the peer IKEv2 policy must have matching group settings for successful negotiations.

Example

nx9500-6C8809(config-profile-default-rfs4000-ikev1-peer-peer1)#use ikev1-policy test-ikev1policy

nx9500-6C8809(config-profile-default-rfs4000-ikev1-peer-peer1)#show context
 crypto ikev1 peer peer1
  ip address 172.16.10.12
  remoteid dn SanJose
  localid email bob@examplecompany.com
  use ikev1-policy test-ikev1policy
nx9500-6C8809(config-profile-default-rfs4000-ikev1-peer-peer1)#

nx9500-6C8809(config-profile-default-rfs4000-ikev2-peer-peer1)#use ikev2-policy test-ikev2policy

nx9500-6C8809(config-profile-default-rfs4000-ikev2-peer-peer1)#show context
 crypto ikev2 peer peer1
  remoteid address 157.235.209.63
  use ikev2-policy test-ikev2policy
nx9500-6C8809(config-profile-default-rfs4000-ikev2-peer-peer1)#