Removing Cisco router static nat entries

Removing static nat entries from a Cisco router sometimes generates the error:

This can be reliably overcome by stopping all inside and outside nat before removing the entry. This procedure is shown below.

However, I have always been able to remove the entry by clearing the current nat translations, then immediately removing the nat entry before another translation can be initiated. I managed this by typing the appropriate commands into a text editor, then copying and pasting them into the Cisco router terminal session, having entered config term to get to the (config)# prompt. Sometimes it takes a few tries to get the no ip nat directive executed before a new translation is initiated.

Here is a sample of the text I copy and paste. (Make sure you include the carriage-return at the end of the second line of text you copy, so the second line gets executed immediately when pasted.)

If you can’t seem to get the “no ip nat” directive executed before a new translation is initiated, here is the full procedure. (Beware trying to do this via a connection that itself relies on a nat translation – your connection will drop.)

Of course, once you’ve removed the static entry successfully, you can copy the current configuration to the startup configuration:

Leave a Reply