Trick: disabling a NAT rule on a Cisco CLI

Translation of the original in Catalan. Read it in: CatalàCastellano

cisco.gif

There's a Cisco router command that I always forget, in fact it's a silly thing, but tired of always losing 5min looking for it when I need it I've decided to write this post on the blog.

When we have DNAT, SNAT or simply NAT rules on a Cisco router, if this rule is in use we can't disable it with the typical instruction:

no ip nat {inside | outside}

Since it gives the following error: Dynamic mapping in use, cannot remove so the first thing we have to do is the following:

clear ip nat translation force

For more information on the subject the official Cisco document that talks about it is: How to Change the Dynamic NAT Configuration (pdf).

1 comment

Comments from the old blog, as they were written. Comments are closed.

  1. Carita