Check static routes real and effective match
Good afternoon, please your support and collaboration. I know that there is a trouble-shooting function by GUI or by CLI the command test routing fib-lookup virtual-router, but what I am looking for is something different.
Example: I have 30 static routes but not all of them may be being used, i.e. making match, even if they are already in the RIB and FIB, I want to know how I can see which of them are being really and effectively used, i.e. see with which there is a real MATCH of use of the static route, in order to debug configurations.
Please indicate how to extract this information.
Thank you, I remain attentive, best regard
That is the fib (show routing fib)
test routing fib-lookup will (should) show you which route will be used to reach a certain IP, that tool uses the active (runtime) forwarding table to determine the actual route that will be matched If you doubt the tool is working properly, you'll need to "eyeball" the fib by running "show routing fib" and "show routing route" and then applying 'knowledge' Connected over next-hop Smallest subnet over larger Smallest metric Smallest admin distance And don't forget about PBF