cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
797
Views
5
Helpful
1
Replies

Can't delete an in-use nat static mapping

DaleKnutsen
Level 1
Level 1

Through an unfortunate combination of circcumstances, my router's configuration now has TWO instances of "ip nat inside source static ..." for a single inside address:

ip nat inside source static tcp 192.168.1.36 80 interface FastEthernet0 80

ip nat inside source static 192.168.1.36 69.228.xxx.xxx route-map SDM_RMAP_1 extendable

When tried to delete one of these static mappings, it said it was "in use" and refused to delete it. How can I delete an in-use static mapping?

1 Accepted Solution

Accepted Solutions

mheusinger
Level 10
Level 10

Hi,

clear the respective nat entry from the NAT table first and remove the command afterwards. It might require VERY fast typing, so copy and paste in the config mode usually works best:

do clear ip nat translation *

no ip nat inside source static 192.168.1.36 69.228.xxx.xxx route-map SDM_RMAP_1 extendable

This is SERVICE affecting!

Hope this helps!

Regards, Martin

View solution in original post

1 Reply 1

mheusinger
Level 10
Level 10

Hi,

clear the respective nat entry from the NAT table first and remove the command afterwards. It might require VERY fast typing, so copy and paste in the config mode usually works best:

do clear ip nat translation *

no ip nat inside source static 192.168.1.36 69.228.xxx.xxx route-map SDM_RMAP_1 extendable

This is SERVICE affecting!

Hope this helps!

Regards, Martin

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco