R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

204
Default
No pre-shared key is configured.
Views
VPN domain view
Default command level
2: System level
Parameters
cipher: Sets a ciphertext pre-shared key.
simple: Sets a plaintext pre-shared key.
string-key: Specifies the key string. This argument is case sensitive. If simple is specified, it must be a string
of 1 to 31 characters. If cipher is specified, it must be a ciphertext string of 1 to 73 characters.
Usage guidelines
For security purposes, all keys, including keys configured in plain text, are saved in cipher text to the
configuration file.
Examples
# Set a plaintext key 123 for the VAM server.
<Sysname> system-view
[Sysname] vam server vpn 1
[Sysname-vam-server-vpn-1] pre-shared-key simple 123
Related commands
authentication-algorithm
encryption-algorithm
pre-shared-key (VAM client view)
vam server vpn
server enable
Use server enable to enable the VAM server feature for a VPN domain.
Use undo server enable to disable the VAM server feature for a VPN domain.
Syntax
server enable
undo server enable
Default
The VAM server feature is disabled.
Views
VPN domain view
Default command level
2: System level