ppp chap password
Use ppp chap password to set the password for CHAP authentication.
Use undo ppp chap password to cancel the configuration.
Syntax
ppp chap password { cipher | simple } password
undo ppp chap password
Default
No password is set.
Views
Interface view
Predefined user roles
network-admin
Parameters
cipher: Sets a ciphertext password.
simple: Sets a plaintext password.
password: Specifies the password for CHAP authentication. This argument is case sensitive. If simple is
specified, it must be a string of 1 to 255 characters. If cipher is specified, it must be a ciphertext string of
1 to 373 characters.
Usage guidelines
For security purposes, all passwords, including passwords configured in plain text, are saved in cipher
text.
Examples
# Set the password for CHAP authentication to a plaintext password sysname.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp chap password simple sysname
Related commands
ppp authentication-mode chap
ppp chap user
Use ppp chap user to set the username for CHAP authentication.
Use undo ppp chap user to cancel the configuration.
Syntax
ppp chap user username
undo ppp chap user
Default
The username for CHAP authentication is null.
6