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 ]
Dear all, As for attached image, I have to force traffic to a shaper node that working like bridge. I have also to put in place an OSPF session to redistribute routes from RTR-01 to RTR-03. From your point of view, is it a good idea ?...
Hi We have installed the GPRS card and Vodafone 2G SIM Card in the router. We have done the GPRS configuration but GPRS is not coming up. Details are mentioned below PID: CISCO1921/K9 PID: HWIC-3G-GSM IB_1616_KNL_IMT_MANESAR#sh cellular 0/10 /0 al...
Hi Tech Guys, Could you share some guide about calaculation Oversubscription ratio between Access to Distribution and Distribution to Core,For example for Cisco 9400 per slot capacity is 80Gbps and and how can we use 24 Port 10G Moudule which i...
good day. ISR 4351/K9 IOS 16.09.04 i need to make "ip nat inside source static" for range 5100-5200 tcp ports. i have find code, like next: ip access-list extended 190permit tcp host 192.168.0.10 range 5100 5200 any!route-map MAP_RST permit 10m...