R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101

28
View
IKE peer view
Default level
2: System level
Parameters
key: Plaintext pre-shared key to be displayed in cipher text, a case-sensitive string of 1 to 128 characters.
cipher key: Specifies the ciphertext pre-shared key to be displayed in cipher text, a case-sensitive string
of 1 to 184 characters.
simple key: Specifies the plaintext pre-shared key to be displayed in plain text, 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 commands: authentication-method.
Examples
# 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 { hostname [ dynamic ] | low-ip-address [ high-ip-address ] }
undo remote-address
View
IKE peer view
Default level
2: System level
Parameters
hostname: Host name of the IPsec remote security gateway, a case-insensitive string of 1 to 255
characters. The host name uniquely identifies the remote IPsec peer and can be resolved to an IP address
by the DNS server.
dynamic: Specifies to use dynamic address resolution for the IPsec remote peer name. If you do not
provide this keyword, the local peer has the remote host name resolved only once after you configure the
remote host name.
low-ip-address: IP address of the IPsec remote security gateway. 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 range of addresses.