Display and Debug PPP 175
By default, virtual Baud rate is not set on interface.
Display and Debug
PPP Please use the display and debugging commands in all views.
Tabl e 212 Display and debug PPP
Typical PPP Configuration
Example
PAP Authentication
Example I. Configuration Requirement
As shown in Figure 50, Router1 and Router2 are interconnected through interface
Serial0, and router Router1 (authenticator) is required to authenticate router
Router2 (requester) in PAP mode.
II. Networking Diagram
Figure 50 Networking diagram of PAP and CHAP authentication example
III. Configuration Procedure
1Configure Router1 (authenticator):
aAdd a user with name Router2 and password hello to the local database
[Router]local-user Router2 password simple hello
bConfigure to start PAP authentication at this side
[Router]interface serial 0
[Router-Serial0]ppp authentication-mode pap
2Configure Router 2 (requester):
aConfigure this side to be authenticated by the opposite side with username
Router2 and password hello
[Router]interface serial 0
[Router-Serial0]ppp pap local-user Router2 password simple hello
CHAP Authentication
Example I. Configuration Requirement
In Figure 50, Router1 is required to authenticate Router2 in CHAP mode.
Disable applying the setting of virtual Baud rate on
interface undo virtualbaudrate
Operation Command
Display Multilink PPP information display ppp mp [ interface type
number ]
Enable the debugging of PPP debugging ppp { event | lqr |
negotiation | packet | all }
Quidway 2
Quidway 1
Router 2
Router 1