ip

crypto-ikev1/ikev2-peer commands

Sets the IP address or FQDN (Fully Qualified Domain Name) of the IPSec VPN peer used in the tunnel setup

Supported in the following platforms:

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

Syntax

ip [address <IP>|fqdn <WORD>]

Parameters

ip [address <IP>|fqdn <WORD>]
address <IP> Specify the peer device‘s IP address.
fqdn <WORD> Specify the peer device‘s FQDN hostname.

Example

nx9500-6C8809(config-profile-default-rfs4000-ikev1-peer-peer1)#ip address 172.16.10.12

nx9500-6C8809(config-profile-default-rfs4000-ikev1-peer-peer1)#show context
 crypto ikev1 peer peer1
  ip address 172.16.10.12
nx9500-6C8809(config-profile-default-rfs4000-ikev1-peer-peer1)#

nx9500-6C8809(config-profile-default-rfs4000-ikev2-peer-peer1)#ip address 192.168.10.6

nx9500-6C8809(config-profile-default-rfs4000-ikev2-peer-peer1)#show context
 crypto ikev2 peer peer1
  ip address 192.168.10.6
  authentication psk 0 test@123456 local
  authentication psk 0 test@123456 remote
nx9500-6C8809(config-profile-default-rfs4000-ikev2-peer-peer1)#