The tunnel password command sets a password for tunnel authentication.
The undo tunnel password command deletes the password.
Format
tunnel passwordcipherpassword
undo tunnel password
Parameters
Parameter
Description
Value
cipherpassword
Specifies a cipher-text password.
The value is a string that contains 1 to 16 case-insensitive characters and is saved in 32-character cipher text.
For security purposes, a password is recommended to meet the minimum strength requirement, that is, it needs to contain at least three types of the following characters: upper-case letters (A to Z), lower-case letters (a to z), digits (0 to 9), and special characters such as exclamation points (!), at signs (@), number signs (#), dollar signs ($), and percent (%).
Views
L2TP group view
Default Level
2: Configuration level
Usage Guidelines
By default, the password is empty.
For security purposes, enable tunnel authentication.
If tunnel authentication is enabled on the LAC or LNS, enable tunnel authentication on the other end.
Example
# Set the password for tunnel authentication to Pass@1234.