• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

Ho do we check active routes

Hi

I have about 100 static routes in a switch.I need to know which of them are actually in production.Is there a way to check them like the way we do for  access-list hit counts ?

Thanks
0
1w3
Asked:
1w3
  • 3
  • 2
  • 2
  • +3
1 Solution
 
mikebernhardtCommented:
Not really. The best thing would be to to span all ports on a switch and monitor the traffic for a while, then sort it out and see what the traffic is.

Why do you have so many static routes anyway? It would most likely better to use a dynamic routing protocol and not worry about the static routes anymore.
0
 
JeffSchaperCommented:
Do you have a "network management system" running, monitoring your network? This will tell which networks exist. You can then delete the network you don't have anymore.
0
 
OzNetNerdCommented:
What sort of switch is it?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
1w3Author Commented:
cat4500 series
0
 
OzNetNerdCommented:
I know for the IOS router it is "show ip route" but don't know if that will work with the Cat series.
0
 
amprantiCommented:
the best way to clean your routing table is to use remarks... At the end, delete the unmarked (and probably unused ) routes. Of course always keep track of changes so you can restore what you did fast if needed!
0
 
mikebernhardtCommented:
I'm rethinking your question. You want to know which of the 100 static routes are still in production.

Are they all to internal networks? Do you have any sort of topology map? You must know which networks you actually have in production. Start by removing routes to networks you know don't exist.

I would strongly suggest that if you have that many static routes, that you should move to a dynamic routing protocol. It makes management much simpler and you rarely have to worry about routes to nowhere.
0
 
1w3Author Commented:
show ip route works..
0
 
Rick_O_ShayCommented:
The show ip route command is probably going to show you as active any static route whose next hop is up which might not be a good indication of whether the network is still in use.

You may need to capture the traffic, as Mike mentioned above, to get a more accurate picture of what subnets are still in use. If there is a point where everything comes through a single core router or switch you may be able to just mirror one port to get a look. Any analyzer including free Wireshark will be able to easily show you what subnets are active.

You may be able to confirm what is still there by pinging the address on the remote router that is the gateway for those networks. But once again that would depend on how your network is set up. For example if a remote site has been completely closed down and all of the equipment has been removed or powered down then the router would not reply to a ping. But if the WAN circuit and remote site router were still up the remote router could reply to the pings even though all the users are no longer there.
0
 
1w3Author Commented:
good
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now