Local-Name - HP 5120 SI series Command Reference Manual

Hide thumbs Also See for 5120 SI series:
Table of Contents

Advertisement

By default, the primary address of the interface referencing the IPsec policy is used as the local security
gateway IP address for IKE negotiation. Use this command if you want to specify a different address for
the local security gateway.
Examples
# Set the IP address of the local security gateway to 1.1.1.1.
<Sysname> system-view
[Sysname] ike peer xhy
[Sysname-ike-peer-xhy] local-address 1.1.1.1

local-name

Syntax
local-name name
undo local-name
View
IKE peer view
Default level
2: System level
Parameters
name: Name for the local security gateway to be used in IKE negotiation, a case-sensitive string of 1 to
32 characters.
Description
Use the local-name command to configure a name for the local security gateway to be used in IKE
negation.
Use the undo local-name to restore the default.
By default, the device name is used as the name of the local security gateway view.
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.
Relate commands: remote-name, id-type.
Examples
# Set the name of the local security gateway to localgw in IKE peer view of peer1.
<Sysname> system-view
[Sysname] ike peer peer1
[Sysname-ike-peer-peer1] local-name localgw
368

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents