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.

Router#conf t<br />

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

Router(config)#no ip route 172.16.1.0 255.255.255.0<br />

Router(config)#ip route 172.16.1.0 255.255.255.0 10.10.10.2 permanent<br />

Router(config)#^Z<br />

Router#<br />

00:05:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed<br />

state to up<br />

00:05:22: is_up: 1 state: 4 sub state: 1 line: 0<br />

00:05:22: RT: add 10.10.10.0/30 via 0.0.0.0, connected metric [0/0]<br />

00:05:22: RT: interface Serial1/0 added to routing table<br />

00:05:23: RT: add 172.16.1.0/24 via 10.10.10.2, static metric [1/0]<br />

Router#<br />

Router#sh ip route<br />

Gateway of last resort is not set<br />

172.16.0.0/24 is subnetted, 1 subnets<br />

S 172.16.1.0 [1/0] via 10.10.10.2<br />

10.0.0.0/30 is subnetted, 1 subnets<br />

C 10.10.10.0 is directly connected, Serial1/0<br />

Router#<br />

Router#<br />

00:06:04: is_up: 1 state: 4 sub state: 1 line: 0<br />

00:06:12: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed<br />

state to down<br />

00:06:12: is_up: 0 state: 4 sub state: 1 line: 0<br />

00:06:12: RT: interface Serial1/0 removed from routing table<br />

00:06:12: RT: del 10.10.10.0/30 via 0.0.0.0, connected metric [0/0]<br />

00:06:12: RT: delete subnet route to 10.10.10.0/30<br />

00:06:12: RT: delete network route to 10.0.0.0<br />

Router#<br />

Router#sh ip route<br />

Gateway of last resort is not set<br />

172.16.0.0/24 is subnetted, 1 subnets<br />

S 172.16.1.0 [1/0] via 10.10.10.2<br />

Router#<br />

Router#conf t<br />

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

Router(config)#int s1/0<br />

Router(config-if)#shut<br />

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

Router#<br />

00:06:35: is_up: 0 state: 6 sub state: 1 line: 0<br />

00:06:37: %LINK-5-CHANGED: Interface Serial1/0, changed state to<br />

administratively down<br />

00:06:37: is_up: 0 state: 6 sub state: 1 line: 0<br />

Router#<br />

Router#sh ip route<br />

Gateway of last resort is not set<br />

172.16.0.0/24 is subnetted, 1 subnets<br />

S 172.16.1.0 [1/0] via 10.10.10.2<br />

Router#<br />

261<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!