cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8303
Views
5
Helpful
4
Replies

Cannot remove directly connected route for ASA

Colin Higgins
Level 2
Level 2

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?

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

You need to shutdown the connected interface temporarily. Then you can remove the static route.

View solution in original post

4 Replies 4

Marvin Rhoads
Hall of Fame
Hall of Fame

You need to shutdown the connected interface temporarily. Then you can remove the static route.

Actually, the clear config route inside command will also work, but it will clear ALL the routes.

Thanks Marvin and Colin. Shutting down the interface temporarily worked for me. 

erkumud80
Level 1
Level 1

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.

Review Cisco Networking for a $25 gift card