Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show IP Route - Number of times route has been used

Status
Not open for further replies.

peterlyttle

Technical User
Joined
Nov 6, 2006
Messages
139
Location
GB
Hi is it possible to see how many times a route has been used? I think i remember that using the "clear counters" will reset them but what is the comand to show the counters? I am trying to see which routes are least used.

Any Ideas?
 
Do not know of any command that will show how many times it has actaully been used.
 
the only thing i can think of is that if you are doing a redistribution into another routing protocol and use a distribute-list...

when you do a show access-lists it will show you how many times each network was requested (matched) i believe.
 
create access-lists that permit the traffic you want...be sure not to deny any traffic un-intensionally - apply the access-lists to the interfaces you need

the counters on the acl's will tell you if any traffic has passed
 
Good ideas, here's another:

If you look carefully at the routing table, you can figure out what route traffic will take. Then, create an access list that matches such traffic and do a debug ip packet (acl number)

I thought that traffic share count would reveal this information, but it appears to be for another purpose.

A show route map will, in 12.2(15)T, evidently give some info about matches - that could perhaps be helpful:
 
Cheers guys I will give these a shot when I next get a chance.

Cheers
 
As a mentor of mine likes to ask, what problem are you trying to solve?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top