320
Examples
# Set the DPD interval to 1 second for dpd2.
<Sysname> system-view
[Sysname] ike dpd dpd2
[Sysname-ike-dpd-dpd2] interval-time 1
local
Use
local
to set the subnet type of the local security gateway for IKE negotiation.
Use
undo local
to restore the default.
Syntax
local
{
multi-subnet
|
single-subnet
}
undo local
Default
The subnet is a single one.
Views
IKE peer view
Default command level
2: System level
Parameters
multi-subnet
: Sets the subnet type to multiple.
single-subnet
: Sets the subnet type to single.
Usage guidelines
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
Use
local-address
to configure the IP address of the local security gateway in IKE negotiation.
Use
undo local-address
to remove the configuration.
Syntax
local-address
[
ipv6
]
ip-address
undo local-address
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.