3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
522 CHAPTER 31: PPP AND MP CONFIGURATION COMMANDS
ppp pap local-user
Syntax ppp pap local-user username password { cipher | simple } password
undo ppp pap local-user
View Interface view
Parameter 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!!.
Description Use the
ppp pap local-user command to configure the username and password
sent by the local device when it is authenticated by the peer device via the PAP
method.
Use the
undo ppp pap local-user command to disable the configuration.
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.
Related command: local-user on page 1940, password on page 1941
Example # 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
Syntax ppp timer negotiate seconds
undo ppp timer negotiate
View Interface view