Clearing Dynamic Translations
Use the clear ip nat translation command to clear dynamic translations from the
NAT translation table. You can remove all dynamic translations from the translation
table or restrict the removal of translation entries based on the protocol, address, or
port values.
clear ip nat translation
NAT Configuration Examples
This section contains NAT configuration examples for a single virtual router
configuration and NAT translation between two virtual routers.
NAPT Example
Figure 6 on page 80 illustrates a NAPT configuration for a private network with two
inside subnetworks, a field office, and a corporate office.
Use to change translation timeouts for existing and newly created translations
in the translation table.
All timeouts for this command support a maximum value of 2147483 seconds
(about 25 days).
Example
host1 (config) # ip nat translation timeout 23200
Use the no version to reset the timer to its default value.
See ip nat translation.
Use to clear dynamic translations from the NAT translation table.
Use an asterisk (*) in the clear ip nat translation version of this command to
clear all dynamic translations from the translation table.
Use an asterisk (*) in the clear ip nat translation { gre | icmp | tcp | udp }
inside insideGlobalIpAddress * insideLocalIpAddress * version of this command
to match any global or local port and remove inside source extended GRE, ICMP,
TCP, or UDP translations for the specified global IP address and local IP address.
Example 1 Clear all dynamic translations
host1 #clear ip nat translation*
Example 2 Clear a specific port translation
host1 #clear ip nat translation tcp inside 171.69.68.10 10.1.2.3 55
There is no no version.
See clear ip nat translation.
Chapter 2: Configuring NAT
Clearing Dynamic Translations
79