Dynamic Network Address Translation (NAT) creates entries in the table when a packet crosses from the inside NAT interface to the outside NAT interface, or the other way around. These entries have a default timeout value of 86400 seconds (24 hours), after which they are removed from the table if there is no activity for the duration of the timeout. Static NAT entries never time out and always remain in the table.
When using dynamic NAT, reducing the timeout value may be necessary when the duration of communication between the end-hosts is short, and a small pool of global addresses is used for translating a larger pool of local addresses. This allows the existing NAT entries to expire quickly so that the global addresses can be reused by the local addresses.
To modify the timeout value from the default, issue the ip nat translation timeout seconds | never command from the global configuration mode. If NAT overloading is configured with dynamic translation, you can modify the timeout values on a protocol basis.
Configuring translation timeouts
ip nat translation timeout <seconds>
Dynamic translations time out after a period of non-use. When port translation is not configured, translation entries time out after 24 hours. This time can be adjusted with the above command or the following variations:
ip nat translation udp-timeout <seconds>
ip nat translation dns-timeout <seconds>
ip nat translation tcp-timeout <seconds>
ip nat translation finrst-timeout <seconds>
When port translation is configured, there is finer control over translation entry timeouts, because each entry contains more context about the traffic using it. Non-DNS UDP translations time out after 5 minutes; DNS times out in 1 minute. TCP translations time out after 24 hours, unless a RST or FIN is seen on the stream, in which case it times out in 1 minute.
• Showing active translations
show ip nat translations [ verbose ]
• Showing translation statistics
show ip nat statistics
• Clearing dynamic translations
clear ip nat translation *
Clears all dynamic translations.
clear ip nat translation <global-ip>
Clears a simple translation.
clear ip nat translation <global-ip> <local-ip> <proto> <global-port> <local-port>
Clears a particular dynamic translation.
debug ip nat [ <list> ] [ detailed ]
hello everyone I'm trying to setup a management network at home containing 4 routers and 4 switches the switch I chose to be my mgmt switch is a c2960 running IOS 15 k9 version. the problem I'm having is that I can ssh from the switch to all ot...
I have configured my cisco 3850 swtich for L3 Routing and have followed many online resources from Cisco about proper configuration, but am not able to get the inter-vlan routing to work. I have checked all of my commands several times and going thr...
Hi,please tell me,Can I block a switch locally connected in a network with Cisco ASA 5500 series firewall, so that any computer connected to that switch does not get the ip address from firewall dhcp service?Thanks.
I have to open port 1149 to be able to access OpenVPN, but I am not having success with the NAT configuration I made.by the dTCP port checkert, is giving time out, in the output of the show ip nat translate is showing that is translating.attached has the ...