ip nat translation

This command controls the life-time of dynamic NAT translations.

Syntax

ip nat translation udp-timeout <seconds>
ip nat translation tcp-timeout <seconds>
ip nat translation icmp-timeout <seconds>

Command

Description

<seconds>

Defines the number of seconds after which an idle NAT translation will expire.

Default

By default, UDP timeout is 120 seconds; TCP timeout is 3600 seconds; ICMP timeout is 6 seconds.

Command Mode

Privileged User

Example

This example defines the lifetime of idle UDP connections:

(config-data)# ip nat translation udp-timeout 360