Description
Example
pre-shared-key
Syntax
View
Parameter
Description
Related command:
Example
remote-address
Syntax
View
Parameter
Use the
command to set the subnet type of the peer gateway for IKE
peer
negotiation.
Use the
command to restore the default.
undo peer
By default, the subnet is a single one. You can use this command to enable
interoperability with a Netscreen device.
# Set the subnet type of the peer gateway to multiple.
<Sysname> system-view
[Sysname] ike peer xhy
[Sysname-ike-peer-xhy] peer multi-subnet
pre-shared-key key
undo pre-shared-key
IKE peer view
key: Pre-shared key, a case sensitive string of 1 to 128 characters.
Use the
pre-shared-key
IKE negotiation.
Use the
undo pre-shared-key
authentication-algorithm on page 1721.
# Set the pre-shared key used in IKE negotiation to abcde.
<Sysname> system-view
[Sysname] ike peer peer1
[Sysname-ike-peer-peer1] pre-shared-key abcde
remote-address low-ip-address [ high-ip-address ]
undo remote-address
IKE peer view
low-ip-address: Remote IP address of the IPSec tunnel. It is the lowest address in
the address range if you want to specify a range of addresses.
high-ip-address: Highest address in the address range if you want to specify a
ragne of addresses.
command to configure the pre-shared key to be used in
command to remove the configuration.
2169