05.01.2013 Views

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

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.

264 Chapter 5 � IP Routing<br />

2501A<br />

2621A(config)#no ip route 172.16.30.0 255.255.255.0<br />

172.16.10.2<br />

2621A(config)#no ip route 172.16.40.0 255.255.255.0<br />

172.16.10.2<br />

2621A(config)#no ip route 172.16.50.0 255.255.255.0<br />

172.16.10.2<br />

Once the static routes are deleted from the configuration, you can add the<br />

RIP routing protocol by using the router rip command and the network<br />

command. The network command tells the routing protocol which network<br />

to advertise. Notice that in the router configuration below the routing protocol<br />

is not told which subnets to advertise; it is told the classful boundary.<br />

RIP will find the subnets and advertise them.<br />

2621A(config)#router rip<br />

2621A(config-router)#network 172.16.0.0<br />

2621A(config-router)#^Z<br />

2621A#<br />

That’s it. Two commands, and you’re done—sure makes your job a lot<br />

easier than when using static routes, doesn’t it? However, keep in mind the<br />

extra router CPU process and bandwidth that you’re consuming.<br />

To configure RIP on the 2501A router, you need to remove the three static<br />

routes you added from the earlier example. Once you make sure no routes<br />

are in the routing table with a better administrative distance than 120, you<br />

can add RIP. Again, if you do not remove the static routes, RIP routes will<br />

never be used on the router.<br />

2501A#config t<br />

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

CNTL/Z.<br />

2501A(config)#no ip route 172.16.30.0 255.255.255.0<br />

172.16.20.2<br />

2501A(config)#no ip route 172.16.40.0 255.255.255.0<br />

172.16.20.2<br />

2501A(config)#no ip route 172.16.50.0 255.255.255.0<br />

172.16.20.2<br />

2501A(config)#router rip

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

Saved successfully!

Ooh no, something went wrong!