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
ciscoswitch# clear ip route *
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
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!!!