Unable to delete a route entry

Answered Question
Jul 3rd, 2008

Hi

I have a strange problem with a couple of routes on my Cisco cat3750 switches

SWITCH#sh ip route

Default gateway is x.x.x.1

Host Gateway Last Use Total Uses Interface

a.b.c.1 x.x.x.4 0:00 460318 Vlan1

a.b.c.2 x.x.x.4 0:00 25586 Vlan1

a.b.c.3 x.x.x.4 0:00 25570 Vlan1

The problem here is there is no static route on the switch or no network or routes learned. These are old records we had before we put in the leased lines (the current default gateway).

I'm unable to delete the routes using "no ip route" or "clear ip route" or "clear ip cache " commands.

I even tried to add a manually, a static route to overide the current route and still no luck.

I need you guys expert assistance here.

Kumaran

I have this problem too.
0 votes
Correct Answer by lee.reade about 8 years 5 months ago

Hi,

Well you can do two things here;

1. no ip routing - to disable ip routing, then remove the static routes from the config, save and reload.

Then enable ip routing again, they should be gone.

2. erase nvram, this will remove the current startup configuration, so that when you restart the switch is fresh. A bit drastic, but you could save the running config to text file, then just paste it back in when it comes up.

HTH,

LR

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
lee.reade Thu, 07/03/2008 - 03:17

Hi,

Well you can do two things here;

1. no ip routing - to disable ip routing, then remove the static routes from the config, save and reload.

Then enable ip routing again, they should be gone.

2. erase nvram, this will remove the current startup configuration, so that when you restart the switch is fresh. A bit drastic, but you could save the running config to text file, then just paste it back in when it comes up.

HTH,

LR

rbkumaran Thu, 07/03/2008 - 03:32

you saved my day!

Solution 1 worked beautifully. It didnt strike to me to disable/enable ip routing.

Thanks very much!!!

Actions

This Discussion