2169
Description Use the peer command to set the subnet type of the peer gateway for IKE
negotiation.
Use the undo peer command to restore the default.
By default, the subnet is a single one. You can use this command to enable
interoperability with a Netscreen device.
Example # 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
Syntax pre-shared-key key
undo pre-shared-key
View IKE peer view
Parameter key: Pre-shared key, a case sensitive string of 1 to 128 characters.
Description Use the pre-shared-key command to configure the pre-shared key to be used in
IKE negotiation.
Use the undo pre-shared-key command to remove the configuration.
Related command: authentication-algorithm on page 1721.
Example # 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
Syntax remote-address low-ip-address [high-ip-address ]
undo remote-address
View IKE peer view
Parameter 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.