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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Let’s look at what is happening here <strong>by</strong> “cleaning up our debug” a bit:<br />

terminus# debug ppp tasks<br />

(line is disconnected)<br />

Line protocol on Interface Serial0/0, changed state to down<br />

(line is reconnected)<br />

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

AAA_PER_USER LCP_UP<br />

AAA_PER_USER LCP_UP<br />

AAA_PER_USER LCP_UP<br />

Line protocol on Interface Serial0/0, changed state to up<br />

We can see that when our line is disconnected no “task” packets are communicated over<br />

the ppp line. But we do have LCP task packets being communicated when the line comes<br />

back “up.” Remember our PPP five step process: line is reconnected, LCP is negotiated,<br />

any username/passwords are verified, NCP is negotiated, line comes up and<br />

communication takes place, and the session is terminated. With the debug tasks we can<br />

only see LCP packets.<br />

Next we can look at the actual negotiation steps with debug. Be sure to turn off all<br />

debugging so we get a “clear” debug ppp negotiation. You should see:<br />

terminus#undebug ppp tasks<br />

PPP background processing debugging is off<br />

terminus#debug ppp negotiation<br />

PPP protocol negotiation debugging is on<br />

(line is disconnected)<br />

00:54:27: %LINK-3-UPDOWN: Interface Serial0/0, changed state to down<br />

00:54:27: Se0/0 IPCP: State is Closed<br />

00:54:27: Se0/0 CDPCP: State is Closed<br />

00:54:27: Se0/0 PPP: Phase is TERMINATING<br />

00:54:27: Se0/0 LCP: State is Closed<br />

00:54:27: Se0/0 PPP: Phase is DOWN<br />

00:54:27: Se0/0 IPCP: Remove route to 200.200.200.2<br />

00:54:28: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0,<br />

changed state to down<br />

(line is reconnected)<br />

00:54:36: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up<br />

00:54:36: Se0/0 PPP: Treating connection as a dedicated line<br />

00:54:36: Se0/0 PPP: Phase is ESTABLISHING, Active Open<br />

00:54:36: Se0/0 LCP: O CONFREQ [Closed] id 3 len 10<br />

00:54:36: Se0/0 LCP: MagicNumber 0x04158C08 (0x050604158C08)<br />

00:54:36: Se0/0 LCP: I CONFREQ [REQsent] id 4 len 10<br />

00:54:36: Se0/0 LCP: MagicNumber 0x01C88BB2 (0x050601C88BB2)<br />

00:54:36: Se0/0 LCP: O CONFACK [REQsent] id 4 len 10<br />

00:54:36: Se0/0 LCP: MagicNumber 0x01C88BB2 (0x050601C88BB2)<br />

00:54:36: Se0/0 LCP: I CONFACK [ACKsent] id 3 len 10<br />

00:54:36: Se0/0 LCP: MagicNumber 0x04158C08 (0x050604158C08)<br />

00:54:36: Se0/0 LCP: State is Open<br />

00:54:36: Se0/0 PPP: Phase is UP<br />

378

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

Saved successfully!

Ooh no, something went wrong!