Command Reference Guide
214 ● nat aging-time 3Com Router 5000 Family and Router 6000 Family
Command Reference
nat aging-time
Purpose Use the nat aging-time command to set the lifetime of NAT connections.
Syntax nat aging-time { default | { dns | ftp-ctrl | ftp-data | icmp | pptp
| tcp | tcp-fin | tcp-syn | udp } seconds }
Parameters default
Sets the address translation lifetime values to the
defaults.
dns
Sets the address translation lifetime for DNS to 60
seconds (default).
ftp-ctrl
Sets the address translation lifetime for FTP control
links to 7200 seconds (default).
ftp-data
Sets the address translation lifetime for FTP data links
to 240 seconds (default).
icmp
Sets the address translation lifetime for ICMP to 60
seconds (default).
pptp
Sets the address translation lifetime for PPTP to 86400
seconds (default).
tcp
Sets the address translation lifetime for TCP to 86400
seconds (default).
tcp-fin
Sets the address translation lifetime for TCP FIN or TCP
RST connections to 60 seconds (default).
tcp-syn
Sets the address translation lifetime for TCP SYN
connections to 60 seconds (default).
udp
Sets the address translation lifetime for UDP to 300
seconds (default).
seconds
Time value (in seconds). Valid values are 10 to 86400
(24 hours).
Example Set the valid connection time of TCP to 240 seconds.
[3Com] nat aging-time tcp 240
View This command can be used in the following views:
■ System view
Description This command is used to set the lifetime of address translation connection in seconds,
and different time values are set for different types of protocols.