< Home

ike local-name

Function

The ike local-name command configures the local name for IKE negotiation.

The undo ike local-name command deletes the local name for IKE negotiation.

By default, no local name is configured for IKE negotiation.

Format

ike local-name local-name

undo ike local-name

Parameters

Parameter Description Value
local-name Specifies a local name for IKE negotiation. The value is a string of 1 to 255 case-sensitive characters without question marks (?).

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When identity authentication, If the ID type of an IKE peer is domain name, fully qualified domain name (FQDN), or USER-FQDN, the IKE peer uses the name for identity authentication. You can use the following methods to configure the local name:
  • Run the local-id command in the IKE peer view. After this command is used, only the IKE peer uses the configured name for identity authentication.
  • Run the local-id command in the system view. After this command is used, all IKE peers use the configured name for identity authentication.

The local name configured using the local-id command has a higher priority than that configured using the ike local-name command.

Precautions

The IPSec-enabled device cannot automatically obtain the device host name sysname as the ID for identity authentication. You must run the ike local-name or local-id command to specify the local ID used in IKE negotiation.

Example

# Set the local ID for IKE negotiation to Huawei.

<sysname> system-view
[sysname] ike local-name Huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >