Predefined user roles
network-admin
Parameters
cipher: Sets a ciphertext key.
simple: Sets a plaintext key.
password: Specifies the key for tunnel authentication. This argument is case-sensitive.
it must be a ciphertext string of 1 to 53 characters. If simple is specified, it must be a string of 1 to 16
characters.
Usage guidelines
For this command to take effect, you must enable tunnel authentication by using the tunnel authentication
command.
For security purposes, all keys, including keys configured in plain text, are saved in cipher text.
Examples
# Set the key for tunnel authentication to a plaintext key yougotit.
<Sysname> system-view
[Sysname] l2tp-group 1 mode lac
[Sysname-l2tp1] tunnel password simple yougotit
Related commands
tunnel authentication
tunnel timer hello
Use tunnel timer hello to set the interval for 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
Predefined user roles
network-admin
Parameters
hello-interval: Specifies the interval at which the LAC or the LNS sends Hello packets, in the range of 60
to 1000 seconds.
Usage guidelines
When no packet is transmitted between the LAC and LNS, Hello packets are sent at the configured
interval to prevent the L2TP tunnels and sessions from being removed due to timeouts.
58
cipher is specified,
If