< Home

ppp pap local-user

Function

The ppp pap local-user command sets the user name and password sent by the local FW when it is authenticated by the peer FW using PAP.

The undo ppp pap local-user command removes the configuration.

Format

ppp pap local-user user-name password cipher password

undo ppp pap local-user

Parameters

Parameter Description Value

user-name

Specifies the user name.

The value is a string of 1 to 253 characters and not case sensitive. If the user name contains a domain name with the at sign (@), you must perform AAA configurations in the domain on the PPPoE server (that is, the peer FW).

cipher password

Specifies a cipher-text password.

The value is a character string.
  • In versions earlier than V600R007C20SPC603, the value is a string of 1 to 16 characters. The system converts the character string into a 32-character ciphertext key and saves it in the configuration file.
  • In V600R007C20SPC603 and later versions, the value is a string of 1 to 64 characters. The system converts the character string into a 128-character ciphertext key and saves it in the configuration file.

To enhance security, the 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

VT interface view, Dialer interface view

Default Level

2: Configuration level

Usage Guidelines

When the local FW is authenticated through PAP by the peer, user-name and password sent by the local FW must be the same as user and password configured of the peer FW.

Example

# Configure the local FW to send the user name "sysname" and the password "Password@123" when being authenticated by the peer using PAP.

<sysname> system-view
[sysname] interface Dialer 1
[sysname-Dialer1] ppp pap local-user sysname password cipher Password@123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >