< Home

tunnel password

Function

The tunnel password command sets a password for tunnel authentication.

The undo tunnel password command deletes the password.

Format

tunnel password cipher password

undo tunnel password

Parameters

Parameter Description Value

cipher password

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.

<sysname> system-view
[sysname] l2tp-group 1
[sysname-l2tp-1] tunnel password cipher Pass@1234
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >