cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
223
Views
20
Helpful
4
Replies
Highlighted
Beginner

Routing

Hello,

when I issue R10(config)#do show ip static route 150.1.3.3 255.255.255.255 then it tells me that it has for example 2 static routes and it shows that which on in active and which one is non-active 

Now my question is that is there any command to show you that how many options a routing protocol (for example RIP) had and why it chooses that best route among the all routing updates received that it had for a specific destination ?

Thanks.

Everyone's tags (1)
4 REPLIES 4
VIP Mentor

Re: Routing

Hello,

 

show ip cef

 

should give you each available route for a specific IP prefix...

VIP Advisor

Re: Routing

Hi 

As Georg mentioned, show ip cef can be useful to see all the route entries. Now a route could be selected by more specific subnet mask and/or de lowest administrative distance. 

 

If you are receiving 2 identical entries into your routing table but one of them via EIGRP and the other via OSPF, the router will prefer the route learnt via EIGRP. 90 over 110.

 

Hope it is useful

Re: Routing

sh ip bgp <prefix>
sh ip ospf route
can be used
Hall of Fame Master

Re: Routing

For the routing protocols that maintain a topology database there is typically some command that will show you all the entries for a particular prefix. So you should be able to see how many possibilities were evaluated. I am not aware of any command that will explicitly tell you why particular table entries were selected over other entries that were not selected. 

 

HTH

 

Rick

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards