HDLC PPP command reference sheet
HDLC PPP command reference sheet
1. Moves to interface configuration mode
Router(config)#interface serial
0/0/0
2. Sets the encapsulation mode for this interface to HDLC
Router(config-if)#encapsulation
hdlc
3. Moves to interface configuration mode
Router(config)#interface serial
0/0/0
4. Changes encapsulation from default HDLC to PPP
Router(config-if)#encapsulation ppp
5. Sets a username of R1 and a password of vinita for
authentication from the other side of the PPP serial link.
This is used by the local router to authenticate the PPP
peer
Router(config)#username R1 password vinita
6. Moves to interface configuration mode.
Router(config)#interface serial
0/0/0
7. Turns on Password Authentication Protocol (PAP)
authentication only
Router(config-if)#ppp authentication pap
8. Turns on Challenge Handshake Authentication Protocol
(CHAP) authentication only.
Router(config-if)#ppp authentication chap
9. Defines that the link will use PAP authentication, but will
try CHAP if PAP fails or is rejected by other side.
Router(config-if)#ppp
authentication pap chap
10 .Defines that the link will use CHAP authentication, but
will try PAP if CHAP fails or is rejected by other side.
Router(config-if)#ppp authentication chap pap
11. This command must be set if using PAP in Cisco IOS
Software Release 11.1 or later
Router(config-if)#ppp pap sentusername R1 password vinita
12. Lists information for serial interface x
Router#show interfaces serial x
13. Tells you what type of cable (DCE/DTE) is plugged into
your interface and whether a clock rate has been set
Router#show controllers serial x
14 Displays whether serial keepalive counters are
incrementing
Router#debug serial interface
15. Displays any traffic related to PPP
Router#debug ppp
16. Displays PPP packets that are being sent and received
Router#debug ppp packet
17. Displays PPP packets related to the negotiation of the PPP
link
Router#debug ppp negotiation
Comments
Post a Comment