R3721-F3210-F3171-HP High-End Firewalls VPN Command Reference-6PW101
55
pre-shared-key
Syntax
pre-shared-key [ cipher | simple ] key
undo pre-shared-key
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. This keyword is not available for the FIPS mode.
Description
Use pre-shared-key to configure the pre-shared key to be used in IKE negotiation.
Use undo pre-shared-key to remove the configuration.
In FIPS mode, the pre-shared key must be a ciphertext string of at least 8 characters that must contain
uppercase letters, lowercase letters, digits, and special characters.
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
proposal
Syntax
proposal proposal-number&<1-6>
undo proposal [ proposal-number ]
View
IKE peer view
Default level
2: System level
Parameters
proposal-number&<1-6>: Sequence number of the IKE proposal for the IKE peer to reference, in the
range of 1 to 65535. &<1-6> means that you can specify the proposal-number argument for up to six
times. An IKE proposal with a smaller sequence number has a higher priority.