The tunnel password command specifies a password for tunnel authentication.
The undo tunnel password command deletes the password.
By default, tunnel authentication is enabled, and no password is used.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
lns-ip lns-ip-address |
Specifies the IP address of an LNS. |
- |
simple password |
Specifies a password in simple text. When configuring an authentication password, select the ciphertext mode because the password is saved in configuration files in plaintext if you select simple mode, which has a high risk. To ensure device security, change the password periodically. |
- |
cipher cipher-password |
Specifies a password in ciphertext. |
- |
Usage Scenario
For the sake of security, it is recommended to enable the tunnel authentication.When configuring an authentication password, select the ciphertext mode because the password is saved in configuration files in simple text if you select simple text mode, which has a high risk. To ensure device security, change the password periodically.
If the tunnel authentication is enabled on LAC side or LNS side, the other end must also be enabled with authentication. To configure a tunnel password based on a specified LNS IP addresses, specify the lns-ip parameter.Precautions
When you configure a tunnel password based on an LNS IP address, the LNS IP address must be that configured using the start l2tp ip ip-address command. Otherwise, the configuration does not take effect.
If the weak password dictionary has been loaded during configuration of the tunnel password command, a weak password check is performed. If the configured password is a weak password, an error message will be displayed indicating that the command fails to be delivered.<HUAWEI> system-view [~HUAWEI] l2tp-group 1 [*HUAWEI-l2tp-1] tunnel password cipher huawei_123
<~HUAWEI> system-view [~HUAWEI] l2tp-group test [~HUAWEI-l2tp-test] tunnel password simple huawei_123
<~HUAWEI> system-view [~HUAWEI] l2tp-group test [~HUAWEI-l2tp-test] tunnel password lns-ip 1.1.1.1 simple huawei_123