Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot delete ip route on 4104gl switch

SOLVED
Go to solution
Ron Orcutt
Occasional Visitor

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
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
Occasional Visitor

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
Occasional Visitor

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