03-25-2013 07:17 PM - edited 03-04-2019 07:24 PM
Hi Experts,
Is there any way/command to see all the possible routes to the particular destination irrespective of routing protocols. For example, you have external bgp and floating static route to the destination. sh ip route will show only the best route.. sh ip bgp x.x.x.x would show only the bgp routes.. but i want to see eBGP and static route using show command.
Thanks,
Arun
Solved! Go to Solution.
03-25-2013 10:08 PM
Only best routes from Routing Protocols are installed in Routing Table. ie., show ip route.
There is no other way other than checking in topology tables...
03-25-2013 10:08 PM
Only best routes from Routing Protocols are installed in Routing Table. ie., show ip route.
There is no other way other than checking in topology tables...
04-21-2023 02:38 PM
Yes, there is a way:
* Do a "show running-config" and search for all the routes configured by user. For instance, in my case I have a floating static route as a OSPF backup, so in running config I have:
ip route 10.0.1.0 255.255.255.0 10.0.0.1 120
This route will not be shown in "show ip route" while OSPF is running, but as soon as OSPF routes fail, the floating will be shown in the ip route table.
With OSPF running:
R2# show ip route
O 10.0.1.0/24 [110/2] via 10.0.0.1, 00:24:46, GigabitEthernet0/2/0
With OSPF down:
R2(config)# no router ospf 1
R2# show ip route
S 10.0.1.0/24 [120/0] via 10.0.0.1
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide