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
1w3Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
1w3Author Commented:
good
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.