R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

299
tunnel password
Use tunnel password to specify the key for tunnel authentication.
Use undo tunnel password to remove the configuration.
Syntax
tunnel password { cipher | simple } password
undo tunnel password
Default
The key for tunnel authentication is null.
Views
L2TP group view
Default command level
2: System level
Parameters
cipher: Sets a ciphertext key.
simple: Sets a plaintext key.
password: Specifies the key for tunnel authentication. This argument is a case sensitive. If simple is
specified, it must be a string of 1 to 53 characters. If cipher is specified, it must be a ciphertext string of
1 to 16 characters.
Usage guidelines
Both ciphertext and plaintext passwords are saved in cipher text in the configuration file.
Examples
# Set the key for tunnel authentication to a plaintext key yougotit.
<Sysname> system-view
[Sysname] l2tp-group 1
[Sysname-l2tp1] tunnel password simple yougotit
tunnel timer hello
Use tunnel timer hello to set the hello interval in sending hello packets in a tunnel.
Use undo tunnel timer hello to restore the default.
Syntax
tunnel timer hello hello-interval
undo tunnel timer hello
Default
The interval is 60 seconds.
Views
L2TP group view