R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
11
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/1/0
[Sysname-Serial2/1/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.
Views
Interface view
Predefined user roles
network-admin
Parameters
username: Username for CHAP authentication, a case-sensitive string of 1 to 80 characters. The
username is sent to the peer for the local device to be authenticated.
Usage guidelines
To pass CHAP authentication, the username/password of one side must be the local
username/password on the peer.
Examples
# Set the username for CHAP authentication to Root on interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0