Configuring a name for the local security gateway

If the IKE negotiation peer uses the security gateway name as its ID to initiate IKE negotiation (the id-type name or id-type user-fqdn command is configured on the initiator), configure the ike local-name command in system view or the local-name command in IKE peer view on the local device. If you configure both commands, the name configured in IKE peer view is used.

To configure a name for the local security gateway:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure a name for the local security gateway.

ike local-name name

Optional.

By default, the device name is used as the name of the local security gateway.