< Home

ppp chap password

Function

The ppp chap password command configures the CHAP password in the CHAP authentication.

The undo ppp chap password command removes the password.

Format

ppp chap password cipher password

undo ppp chap password

Parameters

Parameter Description Value

cipher

Displays the password in ciphertext.

-

password

Specifies the 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

You can run the ppp chap password command on the LAC.

While configuring the CHAP authentication, you must configure the local password as the password of the peer user. The local user name and the password must be the same as that configured of the peer.

In normal cases, you must set the password based on the recommended complexity. If the command is configured on the Dialer interface or VT interface, the system allows the password that does not meet the complexity requirements to meet the authentication requirements of different users, but displays related prompt.

Example

# Set the user password to sysname in CHAP authentication.

<sysname> system-view
[sysname] interface Dialer 0
[sysname-Dialer0] ppp chap password cipher sysname
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >