R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

114
Examples
# Configure interface Virtual-Template 10 to authenticate the peer device by using PAP.
<Sysname> system-view
[Sysname] interface Virtual-Template 10
[Sysname-Virtual-Template10] ppp authentication-mode pap domain system
# Configure interface Virtual-Template 10 to authenticate the peer device by using PAP, CHAP, and
MS-CHAP.
<Sysname> system-view
[Sysname] interface Virtual-Template 10
[Sysname-Virtual-Template10] ppp authentication-mode pap chap ms-chap domain system
ppp chap password
Syntax
ppp chap password { cipher | simple } password
undo ppp chap password
View
VT interface view
Default level
2: System level
Parameters
cipher: Displays the password in cipher text.
simple: Displays the password in plain text.
password: Default password for CHAP authentication, a string of 1 to 48 characters. When the simple
keyword is used, this password is in plain text. When the cipher keyword is used, this password can
either be in cipher text or in plain text. A password in plain text is a string of no more than 48 characters,
such as aabbcc. A password in cipher text has a fixed length of 24 or 64 characters, such as
_(TT8F]Y\5SQ=^Q`MAF4<1!! and
VV-F]7R%,TN$C1D*)O<-;<IX)aV\KMFAM(0=0\)*5WWQ=^Q`MAF4<<"TX$_S#6.N.
Description
Use ppp chap password to set the default password for CHAP authentication.
Use undo ppp chap password to cancel the configuration.
Related commands: ppp authentication-mode chap.
Examples
# Set the default password for CHAP authentication to sysname, which is to be displayed in plain text.
<Sysname> system-view
[Sysname] interface Virtual-Template 10
[Sysname-Virtual-Template10] ppp chap password simple sysname
ppp chap user
Syntax
ppp chap user username