522
C
31: PPP
HAPTER
AND
ppp pap local-user
Syntax
View
Parameter
Description
Related command:
Example
ppp timer negotiate
Syntax
View
MP C
C
ONFIGURATION
OMMANDS
ppp pap local-user username password { cipher | simple } password
undo ppp pap local-user
Interface view
username: Specifies the username sent by the local device when it is authenticated
by the peer device via PAP, a string of 1 to 80 characters.
cipher: Displays the password in ciphertext.
simple: Displays the password in plain text.
password: Specifies the password sent by the local device when it is authenticated
by the peer device using PAP, a string of 1 to 16 characters. When the simple
keyword is used, this password is in plain text. When the cipher keyword is used,
this password can be either in ciphertext or plain text. The plain text is a string of
no more than 16 characters, like aabbcc. The ciphertext has a fixed length of 24
characters, like _(TT8F]Y5SQ=^Q'MAF4<1!!.
Use the
ppp pap local-user
sent by the local device when it is authenticated by the peer device via the PAP
method.
Use the
undo ppp pap local-user
By default, both the username and the password are empty.
When the local router is authenticated via the PAP method by the peer device, the
username and password sent by the local device must be the same as the
username and password of the peer router.
local-user on page 1940, password on page 1941
# Set the username of the local device authenticated by the peer via PAP as user1
and the password as pass1.
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] ppp pap local-user user1 password simple pass1
ppp timer negotiate seconds
undo ppp timer negotiate
Interface view
command to configure the username and password
command to disable the configuration.