F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices VPN Command Reference-6PW100

124
Default command level
2: System level
Parameters
name: Specifies the name for the tunnel at the local end, a case-sensitive string of 1 to 30 characters.
Examples
# Specify the local name for a tunnel as itsme.
<Sysname> system-view
[Sysname] l2tp-group 1
[Sysname-l2tp1] tunnel name itsme
Related commands
sysname (Fundamentals Command Reference)
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 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