domain default (Security Command Reference)
•
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
Views
Interface view
Default command level
2: System level
Parameters
cipher: Sets a ciphertext password.
simple: Sets a plaintext password.
password: Specifies the password string for CHAP authentication. This argument is case sensitive. If
simple is specified, it must be a string of 1 to 48 characters. If cipher is specified, it must be a ciphertext
string of 1 to 97 characters.
Usage guidelines
For security purposes, all passwords, including passwords configured in plain text, are saved in cipher
text to the configuration file.
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.
8