28.06.2014 Views

Discussion

Discussion

Discussion

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.

8.3 Viewing Routes Learned from a Specific Protocol<br />

Problem<br />

You have configured a routing protocol and you want to make sure the router is<br />

learning routes from that protocol.<br />

Solution<br />

Include the protocol name in the show route command:<br />

aviva@RouterG> show route protocol isis<br />

inet.0: 18 destinations, 18 routes (18 active, 0 holddown, 0 hidden)<br />

+ = Active Route, - = Last Active, * = Both<br />

10.0.2.0/24 *[IS-IS/18] 00:45:17, metric 20<br />

> to 10.0.1.1 via fe-0/0/1.0<br />

to 10.0.0.2 via fe-1/0/1.0<br />

10.0.8.0/24 *[IS-IS/18] 00:45:17, metric 20<br />

> to 10.0.0.2 via fe-1/0/1.0<br />

10.0.21.0/24 *[IS-IS/15] 00:45:17, metric 20<br />

> to 10.0.16.1 via fe-1/0/0.0<br />

10.0.24.0/24 *[IS-IS/18] 00:45:17, metric 20<br />

> to 10.0.1.1 via fe-0/0/1.0<br />

10.0.29.0/24 *[IS-IS/18] 00:45:17, metric 30<br />

> to 10.0.1.1 via fe-0/0/1.0<br />

192.168.14.1/32 *[IS-IS/18] 00:45:17, metric 20<br />

> to 10.0.1.1 via fe-0/0/1.0<br />

192.168.17.1/32 *[IS-IS/18] 00:45:17, metric 10<br />

> to 10.0.0.2 via fe-1/0/1.0<br />

192.168.18.1/32 *[IS-IS/18] 00:45:17, metric 10<br />

> to 10.0.1.1 via fe-0/0/1.0<br />

192.168.42.1/32 *[IS-IS/15] 00:45:17, metric 10<br />

> to 10.0.16.1 via fe-1/0/0.0<br />

<strong>Discussion</strong><br />

When you are setting up routing protocols on your network, use the show route<br />

protocol command to make sure that each router has a route to each other router<br />

and that the routes are being directed out the proper interface on the router. In this<br />

recipe, we are setting up an IS-IS network and checking that the local IS-IS router has<br />

learned routes to all IS-IS destinations.<br />

8.4 Displaying the Routes in the Forwarding Table<br />

Problem<br />

You want to see the routes that RPD has installed in the forwarding table and that<br />

the router is actually using to forward packets.<br />

Displaying the Routes in the Forwarding Table | 259<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

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

Saved successfully!

Ooh no, something went wrong!