Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Show IP route on 7200 only shows best route

Is there a way to show all configured routes. I do a "show ip route x.x.x.x [255.255.255.255]" and only get the best route.

10 REPLIES

Re: Show IP route on 7200 only shows best route

Routing table shows only the best routes, that are used. Depending on the routing protocol used, you can use other commands, to determine, what all routes have been received by the router.

for EIGRp show ip eigrp topology

for OSPF show ip ospf data

for BGP show ip bgp

etc.

New Member

Re: Show IP route on 7200 only shows best route

I have a related question, how can I see multiple routes to the same destination. I know I have two ways of getting to a network but when I do a show ip route x.x.x.x, I only get one route and its metric that shows up. I want to compare the metrics.

Silver

Re: Show IP route on 7200 only shows best route

what routing protocol ?

New Member

Re: Show IP route on 7200 only shows best route

I am setting multiple static routes with different metrics. I suppose I can do a "show ip route [x.x.x.x] [255.255.255.255] static". I guess I was expecting it to show me all the routes it had along with metrics. This is the way I thought I remembered it working on lower platforms. Maybe this was IOS 11.x behavior.

New Member

Re: Show IP route on 7200 only shows best route

You can set static route with "ip route [dest-net] [mask] [next-hope] [admin-dist]" and make sure you type in a correct [next-hope] address or you won't see the route in the routing table.

You also can change the [admin-dist] (default is 1) to number you like(<90), but remember static route always has 0 as a next hope.

To show the content of routing table type "Show ip route" at the priviledge mode(#)

Re: Show IP route on 7200 only shows best route

In this case, i think the best option would be to see the running config and comare the metrics.

New Member

Re: Show IP route on 7200 only shows best route

Routing protocol is protocol which dynamically find all the networks in the internetwork used by router. ex: RIP, IGRP,EIGRP etc.

New Member

Re: Show IP route on 7200 only shows best route

Have you tried to do "Show ip route" at privileged mode without ip address and subnet mask. When you typed in the ip adds and sub-mask , it'll display only the route which you typed in.

New Member

Re: Show IP route on 7200 only shows best route

I think that is correct, when I saw all routes in the past, it was when I did a "show ip route". This isn't practical in this case because I am taking in all BGP routes from the Internet. Thanks everyone for your help.

New Member

Re: Show IP route on 7200 only shows best route

Brain flash, output modifers to include static only. I believe I can do a "show ip route | include S".

115
Views
5
Helpful
10
Replies
CreatePlease to create content