remote-name

Syntax

remote-name name

undo remote-name

View

IKE peer view

Default level

2: System level

Parameters

name: Name of the peer security gateway for IKE negotiation, a string of 1 to 32 characters.

Description

Use the remote-name command to configure the name of the remote gateway.

Use the undo remote-name command to remove the configuration.

If you configure the id-type name or id-type user-fqdn command on the initiator, the IKE negotiation initiator sends its security gateway name as its ID for IKE negotiation, and the peer uses the security gateway name configured with the remote-name command to authenticate the initiator. Make sure the local gateway name matches the remote gateway name configured on the peer.

Related commands: id-type, local-name, and ike local-name.

Examples

# Configure the remote security gateway name as apple for IKE peer peer1.

<Sysname> system-view
[Sysname] ike peer peer1
[Sysname-ike-peer-peer1] remote-name apple