R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
424
Examples
# Set the dumb timer to 100 seconds.
<Sysname> system-view
[Sysname] vam client name abc
[Sysname-vam-client-abc] dumb-time 100
pre-shared-key (VAM client view)
Use pre-shared-key to configure a pre-shared key for the VAM server.
Use undo pre-shared-key to remove the configuration.
Syntax
pre-shared-key { cipher cipher-string | simple simple-string }
undo pre-shared-key
Default
No pre-shared key is configured.
Views
VAM client view
Predefined user roles
network-admin
mdc-admin
Parameters
cipher cipher-string: Sets a ciphertext pre-shared key. The cipher-string argument represents the key string,
a case-sensitive string of 1 to 73 characters.
simple simple-string: Sets a plaintext pre-shared key. The simple-string argument represents the key string,
a case-sensitive string of 1 to 31 characters.
Usage guidelines
The pre-shared key is used to generate initial encryption and authentication keys during connection
initialization. It is also used to generate encryption and authentication keys for subsequent packets if
encryption and authentication are needed.
All VAM clients and the VAM server in an ADVPN domain must have the same pre-shared key.
For security purposes, all keys, including keys configured in plain text, are saved in cipher text.
Examples
# Set the plaintext key to 123 for VAM client abc in ADVPN domain 1.
<Sysname> system-view
[Sysname] vam client name abc
[Sysname-vam-client-abc] pre-shared-key simple 123
Related commands
• vam client name
• pre-shared-key (ADVPN domain view)