When you use the sho ip route command, it seems that an IOS router will only show you the best route available for a subnet. For example, I recently did a sho route command and the output only showed a static route to a certain network. I thought that strange because I knew for a fact that that network was being advetised via RIP. Sure enough I found a static route in the router's config. When I deleted the static the RIP route showed. I realize that in my case a static route is preffered over a RIP learned route but sometimes for troubleshooting purposes I would like to see all the routes that the router has. Is this possible? What would the command look like?
In your case, the same route was being advertised via RIP, as well as there was a static route for the same network. A router, uses a factor called Administrative distance. Its nothing but believability of a routing protocol. Static routes have admin distance of 1, while RIP has admin distance of 120. Routes with lower admin distance are preferred over a route with higher admin distance. Thats the reason why, initially the static route was being preferred over the RIP route, and when you removed the static, the RIP route showed up.
Again, to view all the routes, received by the router, it depends on type of routing protocol used. For OSPF, it maintains a database, and can be viewed using command, "show ip ospf database". For EIGRP, all the routes received via EIGRP can be viewed using, "show ip eigrp topology". For BGP, you can use, "show ip bgp" . There is no specific command to see all routes received via rip.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...