34
For the local router to pass PAP authentication on the remote router, make sure that the same username
and password configured for the local router are also configured on the remote router with the
commands
local-user
username
and
password
{
cipher | simple
}
password
.
Related commands:
local-user
and
password
(
Security Command Reference
)
Examples
# Set the local username and password for PAP authentication to
user1
and
pass1
(in plain text).
<Sysname> system-view
[Sysname] interface Serial 4/1/9/1:0
[Sysname- Serial4/1/9/1:0] ppp pap local-user user1 password simple pass1
ppp timer negotiate
Syntax
ppp timer negotiate
seconds
undo ppp timer negotiate
View
Synchronous serial interface view
Default level
2: System level
Parameters
seconds:
Negotiation timeout time to be set, which ranges from 1 to 10 (in seconds). In PPP negotiation,
if the local router receives no response from the peer during this period after it sends a packet, the local
router sends the last packet again.
Description
Use the
ppp timer negotiate
command to set the PPP negotiation timeout time.
Use the
undo ppp timer negotiate
command to restore the default.
By default, the PPP negotiation timeout time is three seconds.
Examples
# Set the PPP negotiation timeout time to five seconds.
<Sysname> system-view
[Sysname] interface Serial 4/1/9/1:0
[Sysname-serial4/1/9/1:0] ppp timer negotiate 5
remote address
Syntax
remote address
{
ip-address
|
pool
[
pool-number
] }
undo
remote address
View
Synchronous serial interface view