05-12-2014 08:32 AM - edited 03-11-2019 09:11 PM
I have a static route on my ASA5545X I need to remove. It points to a remote network through a downstream gateway.
When I do a
no route inside 172.31.150.0 255.255.255.0 172.25.36.1
I get the message: cannot remove connected route
There is a command to selectively delete a portion of the configuration that can be used to remove this, but I can't remember what it is and can't find it anywhere in the documentation.
Anyone remember it?
Solved! Go to Solution.
05-12-2014 09:15 AM
You need to shutdown the connected interface temporarily. Then you can remove the static route.
05-12-2014 09:15 AM
You need to shutdown the connected interface temporarily. Then you can remove the static route.
05-14-2014 06:40 AM
Actually, the clear config route inside command will also work, but it will clear ALL the routes.
02-12-2015 11:30 PM
Thanks Marvin and Colin. Shutting down the interface temporarily worked for me.
07-12-2023 09:11 AM
1). First try to remove interface name if.
2). Remove interface assign ip address assign applied static route.
apply same configuration above which you remove from interface. Surprise static route is remove.
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