Your IP is:

3.133.120.64

[More Detail]


Instant Port Checker

IP:[get my ip] Port1:[EL2/PR2/PM3]   [XON NVR] Port2: Port3:

Skip to content

Unable to delete Stale/Obsolete statc routes in Cisco IOS


Today, I had to troubleshoot a very peculiar problem on my Cisco Catalyst 3750 switches in two different sites. To cut a long story short, both the sites originally had IPSec VPNs over ADSL internet andtherefore static routes added to pass through their VPN firewalls. However, with a recent WAN migration with leased lines, all traffic moved to the WAN routers.

However, the Static Routes became stale (obsolete) and we were unable to delete the static routes. The routes are not in the running config (no "ip route command in config") and a reboot wouldn't help.

When you do

ciscoswitch# show ip route
Default gateway is 10.10.10.1

Host Gateway Last Use Total Uses Interface
192.168.1.1 10.10.10.4 0:00 460318 Vlan1
192.168.1.2 10.10.10.4 0:00 25586 Vlan1
192.168.1.3 10.10.10.4 0:00 25570 Vlan1

The static routes cannot be deleted using

ciscoswitch(config)# no ip route 192.168.1.1 255.255.255.255 10.10.10.4

or

ciscoswitch# clear ip route *

or

ciscoswitch# clear ip cache *

How to resolve?

Finally, the resolution was to disable and enable the "ip routing" service.

Disable IP Routing

ciscoswitch(config)#no ip routing

Enable IP Routing

ciscoswitch(config)#ip routing

This fixed the problem and we are back in business. The stale routing table entries are gone.

I'm sure someone out there is looking for this and might help!!!


ItsyourIP.com

Categories: General.

Tags: , , , , ,