28.06.2014 Views

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Watch out! This one can really be tough to stop on your router. Remember your<br />

up arrow to quickly find the “undebug all” to try stopping this. You may even<br />

have to disconnect the line again to help slow down the debug messages even<br />

after you have turned off all debugging. Then do it on the other end of the serial<br />

line (router “leftist”):<br />

leftist (config)#int s0/1<br />

leftist (config-if)#enc ppp<br />

leftist (config-if)#ppp authentication pap<br />

leftist (config-if)#ppp pap sent-username prophet password legodoom<br />

leftist (config-if)#exit<br />

leftist(config)#username prophet password legodoom<br />

As soon as you put in the ppp pap username/passwords you should see something<br />

like this:<br />

leftist(config)#int s0/1<br />

leftist(config-if)#ppp pap sent-username prophet password legodoom<br />

leftist(config-if)#01:23:27: %LINEPROTO-5-UPDOWN: Line protocol on<br />

Interface Serial0/1, changed state to up<br />

leftist(config-if)#01:23:29: %LINK-3-UPDOWN: Interface Serial0/1, changed<br />

state to up<br />

leftist(config-if)#<br />

Notice the process here…the line protocol comes up then the state comes up.<br />

6. Let’s look at our PAP negotiation process:<br />

1. leftist#debug ppp negotiation<br />

2. PPP protocol negotiation debugging is on<br />

3. leftist#<br />

4. 01:24:37:%LINK-3-UPDOWN: Interface Serial0/1, changed state to down<br />

5. 01:24:37: Se0/1 IPCP: State is Closed<br />

6. 01:24:37: Se0/1 CDPCP: State is Closed<br />

7. 01:24:37: Se0/1 PPP: Phase is TERMINATING<br />

8. 01:24:37: Se0/1 LCP: State is Closed<br />

9. 01:24:37: Se0/1 PPP: Phase is DOWN<br />

10. 01:24:37: Se0/1 IPCP: Remove route to 200.200.200.1<br />

11. 01:24:38: %LINEPROTO-5-UPDOWN: Line protocol on Interface<br />

Serial0/1, changed state to down<br />

12. 01:24:46: %LINK-3-UPDOWN: Interface Serial0/1, changed state to up<br />

13. 01:24:46: Se0/1 PPP: Treating connection as a dedicated line<br />

14. 01:24:46: Se0/1 PPP: Phase is ESTABLISHING, Active Open<br />

15. 01:24:46: Se0/1 LCP: O CONFREQ [Closed] id 76 len 14<br />

16. 01:24:46: Se0/1 LCP: AuthProto PAP (0x0304C023)<br />

17. 01:24:46: Se0/1 LCP: MagicNumber 0x01E48949 (0x050601E48949)<br />

18. 01:24:46: Se0/1 LCP: I CONFREQ [REQsent] id 187 len 14<br />

19. 01:24:46: Se0/1 LCP: AuthProto PAP (0x0304C023)<br />

382

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!