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

52
undo local
View
IKE peer view
Default level
2: System level
Parameters
multi-subnet: Sets the subnet type to multiple.
single-subnet: Sets the subnet type to single.
Description
Use local to set the subnet type of the local security gateway for IKE negotiation.
Use undo local to restore the default.
By default, the subnet is a single one.
Use this command to enable interoperability with a NetScreen device.
Examples
# Set the subnet type of the local security gateway to multiple.
<Sysname> system-view
[Sysname] ike peer xhy
[Sysname-ike-peer-xhy] local multi-subnet
local-address
Syntax
local-address ip-address
undo local-address
View
IKE peer view
Default level
2: System level
Parameters
ip-address: IP address of the local security gateway to be used in IKE negotiation.
Description
Use local-address to configure the IP address of the local security gateway in IKE negotiation.
Use undo local-address to remove the configuration.
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