Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Route that is being used...

Is there any commands that show the route being used?

In case of extreme switches,

"show iproute" commands have 'in use' colume

------------------------------------------------

Alpine3804:1 # show iproute PF

OR Destination Gateway Mtr Flags Use M-Use VLAN Acct-1

*s 192.100.104.57/32 192.168.202.49 1 UGH--S-um 0 0 PF 0

*s 192.100.104.58/32 192.168.202.49 1 UGH--S-um 0 0 PF 0

*s 172.50.42.1/32 192.168.202.49 1 UGH--S-um 5497 0 PF 0

*s 172.50.42.21/32 192.168.202.49 1 UGH--S-um 40 0 PF 0

*s 211.106.159.180/32 192.168.202.49 1 UGH--S-um 248 0 PF 0

*s 192.168.202.32/28 192.168.202.49 1 UG---S-um 917719131 0 PF 0

Thanks in advance.

2 REPLIES
VIP Purple

Re: Route that is being used...

Hello,

not sure if I understand the question: all static routes listed in your routing table are valid routes for unicast and multicast (um) traffic. AFAIK, there is no way to determine which static route is actively routing traffic at a specific moment, other than debugging the routing (config debug-trace ip-forwarding).

Regards,

GP

Cisco Employee

Re: Route that is being used...

Do you mean the next-hop being used. If you only have one next-hop for a given prefix and the route is installed in the RIB, you know for sure that the next-hop being used is the one installed in the RIB. If you have multiple NH for a given prefix and you want to find out which NH will be used then the IOS provides you with the following command to determine the NH:

sh ip cef exact-route

This is obviously if you use CEF default loadsharing mode, which is per destination (really per flow).

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
103
Views
0
Helpful
2
Replies