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:

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-ap8533-ikev1-peer-peer1)#ip address 172.16.10.12

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

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

nx9500-6C8809(config-profile-default-ap8533-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-ap8533-ikev2-peer-peer1)#