cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2839
Views
0
Helpful
7
Replies

unable to delete static route 1811w Router

mahesh18
Level 6
Level 6

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

Reza Sharifi
Hall of Fame
Hall of Fame

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

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

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

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

Reza Sharifi
Hall of Fame
Hall of Fame

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)#

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

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

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

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 ***

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card