31
NOTE:
For more information about creating a local user account, configuring its attributes, creating a domain,
and configuring domain attributes, see
Security Configuration Guide.
Related commands:
ppp chap user
,
ppp pap local-user
, and
ppp chap password
;
local-user
and
domain default
enable
(
Security Command Reference
)
Examples
# Configure to authenticate the peer router using PAP on interface Serial 4/1/9/1:0.
<Sysname> system-view
[Sysname] interface Serial 4/1/9/1:0
[Sysname-Serial4/1/9/1:0] ppp authentication-mode pap domain system
ppp chap password
Syntax
ppp chap password
{
cipher
|
simple
}
password
undo
ppp chap password
View
Synchronous serial interface view
Default level
2: System level
Parameters
cipher
: Specifies to display the password in cipher text.
simple
: Specifies to display 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!!
.
Description
Use the
ppp chap password
command to set the default password for CHAP authentication.
Use the
undo ppp chap password
command 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 Serial 4/1/9/1:0
[Sysname-Serial4/1/9/1:0] ppp chap password simple sysname