< Home

remote-id

Function

The remote-id command specifies the remote ID for IKE negotiation.

The undo remote-id command deletes the remote ID for IKE negotiation.

By default, the remote ID for IKE negotiation is not configured.

Format

remote-id id

undo remote-id

Parameters

Parameter Description Value
id Specifies the remote ID. The value is a string of 1 to 255 case-sensitive characters including special characters, such as the exclamation point (!), at sign (@), number sign (#), dollar sign ($), and percent (%).

Views

Efficient VPN policy view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the remote ID type of the IKE peer is FQDN or USER-FQDN, you can run this command to set a value for the remote ID.

If the remote ID type of the IKE peer is DN, FQDN, or USER-FQDN, you can run this command to set a value for the remote ID.

During IKE negotiation, you can run the remote-id commands to configure the remote ID for authentication.

Precautions

  • In IKEv1, the configured remote ID is used to authenticate only the peer.
  • In IKEv2, the configured remote ID can be sent to the peer to check whether the local name of the peer is the same as this remote ID.

Example

# Set the remote peer name to Huawei in the Efficient VPN policy view.
<HUAWEI> system-view
[HUAWEI] ipsec efficient-vpn name mode client
[HUAWEI-ipsec-efficient-vpn-name] remote-id Huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >