cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2107
Views
0
Helpful
7
Replies
Highlighted
Frequent Contributor

unable to delete static route 1811w Router

Hi all,

On 1811W  Router i have OSPF running and i do not need this static route.

ip route 192.168.20.0 255.255.255.0 192.168.20.3

when i try to delete i get error

1811w#              config t

Enter configuration commands, one per line.  End with CNTL/Z.

1811w(config)#no ip route 192.168.20.0 255.255.255.0 192.168.20.3

%No matching route to delete

1811w(config)#

Need to know how can i remove this from running config?

Thanks

Mahesh

4 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Hall of Fame Expert

Re: unable to delete static route 1811w Router

Hi Mahesh,

It should work.  I just tried it.

try below commands and post the output

R1(config)#ip route 192.168.20.0 255.255.255.0 192.168.20.3  

R1(config)#do sh run | sec ip route              

ip route 192.168.20.0 255.255.255.0 192.168.20.3

R1(config)#no ip route 192.168.20.0 255.255.255.0 192.168.20.3

R1(config)#do sh run | sec ip route                          

R1(config)#

View solution in original post

Highlighted
Hall of Fame Expert

unable to delete static route 1811w Router

Hi Mahesh,

I am thinking, this may be a bug in the IOS you are running.

Can you repeat the commands above, save the config than issue the show command?

What is the IOS version?

HTH

Reza

View solution in original post

Highlighted

Re:unable to delete static route 1811w Router

Can you post output of sh run | begin ip route.
Is the route showing up in "sh ip route"?
Rgds/ dp


Sent from Cisco Technical Support Android App

View solution in original post

Highlighted
Advisor

Re:unable to delete static route 1811w Router

Mahesh,

I agree with Reza in that this is probably a bug that doesn't really affect anything. Do you see this route if you do a "show ip route static"?

HTH,

John

HTH, John *** Please rate all useful posts ***

View solution in original post

7 REPLIES 7
Highlighted
Hall of Fame Expert

Re: unable to delete static route 1811w Router

Hi Mahesh,

It should work.  I just tried it.

try below commands and post the output

R1(config)#ip route 192.168.20.0 255.255.255.0 192.168.20.3  

R1(config)#do sh run | sec ip route              

ip route 192.168.20.0 255.255.255.0 192.168.20.3

R1(config)#no ip route 192.168.20.0 255.255.255.0 192.168.20.3

R1(config)#do sh run | sec ip route                          

R1(config)#

View solution in original post

Highlighted
Frequent Contributor

unable to delete static route 1811w Router

Hi Reza,

Here is output

1811w#config t

Enter configuration commands, one per line.  End with CNTL/Z.

1811w(config)#ip route 192.168.20.0 255.255.255.0 192.168.20.3

1811w(config)#do sh run | sec ip route

ip route 192.168.20.0 255.255.255.0 192.168.20.3

ip route 192.168.20.0 255.255.255.0 192.168.20.3

1811w(config)#no ip route 192.168.20.0 255.255.255.0 192.168.20.3

1811w(config)#do sh run | sec ip route

1811w(config)#

but when i do sh run it is still there also

1811w#                                            sh run | sec ip route

ip route 192.168.20.0 255.255.255.0 192.168.20.3

thanks

mahesh

Highlighted
Hall of Fame Expert

unable to delete static route 1811w Router

Hi Mahesh,

I am thinking, this may be a bug in the IOS you are running.

Can you repeat the commands above, save the config than issue the show command?

What is the IOS version?

HTH

Reza

View solution in original post

Highlighted
Frequent Contributor

unable to delete static route 1811w Router

Hi Reza,

I did as what you said above

still same thing i can see static route in running config

1811w#               sh run | sec ip route

ip route 192.168.20.0 255.255.255.0 192.168.20.3

1811w#sh flash

-#- --length-- -----date/time------ path

1     23673764 Oct 20 2012 13:44:06 c181x-advipservicesk9-mz.124-24.T8.bin

This is the IOS  i have.

To mee seems bug.

Thanks

Mahesh

Highlighted
Advisor

Re:unable to delete static route 1811w Router

Mahesh,

I agree with Reza in that this is probably a bug that doesn't really affect anything. Do you see this route if you do a "show ip route static"?

HTH,

John

HTH, John *** Please rate all useful posts ***

View solution in original post

Highlighted

Re:unable to delete static route 1811w Router

Can you post output of sh run | begin ip route.
Is the route showing up in "sh ip route"?
Rgds/ dp


Sent from Cisco Technical Support Android App

View solution in original post

Highlighted
Frequent Contributor

unable to delete static route 1811w Router

hi everyone,

I did not check earlier if route was there in sh ip route command or not.

This is what i did i restart my router then i was able to delete the static route.

Now it does not show in running config.

Today i again config the static route for testing

1811w#config t

Enter configuration commands, one per line.  End with CNTL/Z.

1811w(config)#ip route 192.168.20.0 255.255.255.0 192.168.20.3

1811w(config)#end

1811w#sh ip route static

1811w#config t

Enter configuration commands, one per line.  End with CNTL/Z.

1811w(config)#no ip route 192.168.20.0 255.255.255.0 192.168.20.3

1811w(config)#end

Now i am able to delete it as compare to yesterday.

May be rebooting the router helped.

Many thanks for everyone for their replies.

Regards

MAhesh

CreatePlease to create content
Content for Community-Ad