19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

- PPP Encapsulation configuration on RT2:<br />

RT2#conf t<br />

Enter configuration commands, one per line. End with CNTL/Z.<br />

RT2(config)#int s0/0<br />

RT2(config-if)#encapsulation ppp<br />

RT2(config-if)#ip add 10.10.10.2 255.255.255.252<br />

RT2(config-if)#no shut<br />

RT2(config-if)#^Z<br />

RT2#<br />

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

00:10:13: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed<br />

state to up<br />

RT2#ping 10.10.10.1<br />

Type escape sequence to abort.<br />

Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:<br />

!!!!!<br />

Success rate is 100 percent (5/5), round-trip min/avg/max = 36/37/40 ms<br />

RT2#<br />

- Verify the PPP Encapsulation configuration on RT2:<br />

RT2#sh int s0/0<br />

Serial0/0 is up, line protocol is up<br />

Hardware is M4T<br />

Internet address is 10.10.10.2/30<br />

MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,<br />

reliability 255/255, txload 1/255, rxload 1/255<br />

Encapsulation PPP, crc 16, loopback not set<br />

Keepalive set (10 sec)<br />

LCP Open<br />

Open: IPCP, CDPCP<br />

--- output omitted ---<br />

- The debug ppp negotiation privileged command displays PPP link establishment and<br />

negotiation information, including LCP and NCP information.<br />

- The debug ppp error privileged command displays the errors related to PPP.<br />

- Serialx is xxxx, line protocol is xxxx<br />

The 1st parameter refers to status of the physical layer (L1). It is up when it receives carrier<br />

detect; while it is down when there is a cable or interface problem (hardware failure).<br />

The <strong>2nd</strong> parameter refers to status of the data link layer (L2). It is down when there is a<br />

keepalive, clocking (clock rate), framing (encapsulation type), or authentication (password and<br />

authentication protocol) misconfiguration. Note: Usernames are not case-sensitive.<br />

Note: Both interface ends must be configured with the same keepalive value or setting.<br />

- The clear counters [intf-type intf-num] privileged command clears the statistic counters for<br />

all interfaces or a particular interface.<br />

- The no encapsulation ppp command is equivalent to the encapsulation hdlc command,<br />

as it causes routers to revert back to the default encapsulation type – HDLC.<br />

154<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

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

Saved successfully!

Ooh no, something went wrong!