Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Cannot remove directly connected route for ASA

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
Hall of Fame Super Silver

You need to shutdown the

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

3 REPLIES
Hall of Fame Super Silver

You need to shutdown the

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

New Member

Actually, the clear config

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

New Member

Thanks Marvin and Colin.

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

2851
Views
0
Helpful
3
Replies