Switches, Hubs, and Modems
1751685 Members
4669 Online
108781 Solutions
New Discussion юеВ

Re: Cannot delete ip route on 4104gl switch

 
SOLVED
Go to solution
Ron Orcutt
New Member

Cannot delete ip route on 4104gl switch

I inherited a 4104gl switch from a previous admin and I am having difficulty deleting an incorrect route. I'm about to wipe the entire config and restore from a backup (minus the offending route). However, if anyone knows of a more graceful way to remove this route, I would really appreciate it!

First, the switch info:
--------------------------
Image stamp: /sw/code/build/gamo(m03)
Dec 15 2005 10:15:43
G.07.93
87
Boot Image: Primary
--------------------------

The route I am trying to remove is:
--------------------------
ip route 192.168.248.0 255.255.255.0 reject
--------------------------

When I try to delete this route, I get the following response:
--------------------------
(config)# no ip route 192.168.248.0 255.255.255.0 reject
192.168.248.0/24 reject: Inconsistent value.
--------------------------

I've created similar routes on the switch and deleted them without getting this error. Any ideas on how to remove this stubborn route would be great.

Thank you.


5 REPLIES 5
Clueless and in Charge
Occasional Advisor

Re: Cannot delete ip route on 4104gl switch

Hi
This may sound stupid, but have you done a:
no ip route 192.168.248.0 255.255.255.0 without the reject?

I had a similar issue and this sorted it out for me.

Cheers
Time flies when you havn't got a clue!!
Ron Orcutt
New Member

Re: Cannot delete ip route on 4104gl switch

Thanks for the post. Sorry, I forgot to mention that I tried that. The command appears to be accepted, except when I save the config and check again, the blasted route is still there.

Thanks anyway.
Pieter 't Hart
Honored Contributor
Solution

Re: Cannot delete ip route on 4104gl switch

change gateway of this subnet again to an existing router instead of NULL router.
ip route 192.168.248.0 255.255.255.0
after this you may be able to remove the static route (no ip route...)
Ron Orcutt
New Member

Re: Cannot delete ip route on 4104gl switch

Your idea worked perfectly, Pieter! Thank you!
Pieter 't Hart
Honored Contributor

Re: Cannot delete ip route on 4104gl switch

Ron, Thanks for feedback and points.

Pieter