03-27-2012 08:52 AM - edited 03-07-2019 05:48 AM
Is there away to remove dynamic/static routing information from a access switch without reloading the device? We had a power outage that cause an entire site to go down/up and after that 2 of switches had incorrect routes when executing "sh ip route" while another switch on the same network had the correct "ip route" information. Commands I tried to remove the route information with no resolution.
clear arp-cache
clear ip cache
clear ip route *
clear mac address table dynamic "hex add"
Just curious if there is away to clear the data without a reload of the switch
Regards,
Michael
03-27-2012 09:05 AM
Just Curious..
when you mean 2 of switches had incorrect "ip route" at the time of reboot, did it have the proper startup config?
didn't removing the configuration related to dynamic / static routing help?
-Vijay
03-27-2012 09:09 AM
Vijay,
I check both the 2 no working running configs against the running configs of the switches that were working. All of them appeared to be exactly the same. However when I executed the "sh ip route" the 2 offending switches had an additional route. Both of these switches are only running layer 2 with "No Ip Routing" services.
03-27-2012 09:12 AM
can you pls share the output of "sh ip route" on the problematic switch?
-Vijay
03-27-2012 09:20 AM
Vijay,
Here is the "ip route" information from both working and non-working information.
Non-Working Switch
Host Gateway Last Use Total Uses Interface
190.110.15.32 190.180.99.3 0:00 24 Vlan99
190.110.99.1 190.180.99.2 0:13 364 Vlan99
190.110.15.99 190.180.99.2 0:02 1119 Vlan99
Working Switch
Host Gateway Last Use Total Uses Interface
190.110.15.32 190.180.99.3 0:00 24 Vlan99
190.110.99.1 190.180.99.3 0:13 364 Vlan99
190.110.15.99 190.180.99.3 0:02 1119 Vlan99
03-27-2012 09:29 AM
If they are true layer 2 then there should be no static or dynamic routes to begin with . It should only have an ip address to manage it and a default gateway .
03-27-2012 09:33 AM
Glen,
I agree with that statement. Which makes this even more puzzling. Layer 3 is being handled on our core switch & router which is where I beleive this routes come into play.
But why would reloading the device change the "ip route" information ? As soon as the offending devices reloaded the gateway address of 99.2 disappeared??
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide