R3303-HP HSR6800 Routers Layer 2 - WAN Command Reference
41
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/1
[Sysname-Serial2/0/1] 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
Default command level
2: System level
Parameters
username: Username for CHAP authentication, a case-sensitive string of 1 to 80 characters. The
username is sent to the peer device 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 of the peer.
Examples
# Set the username for CHAP authentication as Root on interface Serial 2/0/1.
<Sysname> system-view
[Sysname] interface serial 2/0/1