R3721-F3210-F3171-HP High-End Firewalls VPN Command Reference-6PW101

47
Examples
# Create a DPD detector named dpd2.
<Sysname> system-view
[Sysname] ike dpd dpd2
ike local-name
Syntax
ike local-name name
undo ike local-name
View
System view
Default level
2: System level
Parameters
name: Name of the local security gateway for IKE negotiation, a case-sensitive string of 1 to 32
characters.
Description
Use ike local-name to configure a name for the local security gateway.
Use undo ike local-name to restore the default.
By default, the device name is used as the name of the local security gateway.
If you configure the id-type name or id-type user-fqdn command on the initiator, the IKE negotiation peer
uses the security gateway name as its ID to initiate IKE negotiation, and you must 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 the ike local-name command and the local-name command, the name configured
by the local-name command is used.
The IKE negotiation initiator sends its security gateway name as its ID to the peer, 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: remote-name and id-type.
Examples
# Configure the local security gateway name as app.
<Sysname> system-view
[Sysname] ike local-name app
ike next-payload check disabled
Syntax
ike next-payload check disabled
undo ike next-payload check disabled
View
System view