11-24-2012 05:16 PM - edited 03-07-2019 10:13 AM
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
Solved! Go to Solution.
11-24-2012 05:48 PM
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)#
11-24-2012 06:01 PM
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
11-25-2012 12:40 AM
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
11-25-2012 07:29 AM
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
11-24-2012 05:48 PM
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)#
11-24-2012 05:52 PM
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
11-24-2012 06:01 PM
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
11-24-2012 10:02 PM
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
11-25-2012 07:29 AM
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
11-25-2012 12:40 AM
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
11-25-2012 10:22 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide