3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2030 CHAPTER 133: NAT CONFIGURATION COMMANDS
View System view
Parameter default: Restores the NAT aging time to the default value.
dns: Specifies the NAT aging time for DNS, which defaults to 60 seconds.
ftp-ctrl: Specifies the NAT aging time for FTP control link, which defaults to 7,200
seconds.
ftp-data: Specifies the NAT aging time for FTP data link, which defaults to 300
seconds.
icmp: Specifies the NAT aging time for ICMP, which defaults to 60 seconds.
pptp: Specifies the NAT aging time for PPTP, which defaults to 86,400 seconds.
tcp: Specifies the NAT aging time for TCP, which defaults to 86,400 seconds.
tcp-fin: Specifies the NAT aging time for TCP fin or rst, which defaults to 60
seconds.
tcp-syn: Specifies the NAT aging time for TCP syn, which defaults to 3,600
seconds.
udp: Specifies the NAT aging time for UDP, which defaults to 300 seconds.
seconds: NAT aging time, in the range 10 to 86,400 seconds (24 hours).
Description Use the
nat aging-time command to configure NAT aging time(s).
The Hash table used in address translation is not permanent. This command
configures a Hash table life time for TCP, UDP, ICMP, and other protocols
respectively. If the Hash table is not used within the configured time, the Hash
entry will become invalid. For example, when a user with IP address 10.110.10.10
and port number 2000 establishes an external TCP connection, NAT will assign an
IP address and a port number for the user. If, within a preconfigured aging time,
the TCP connection is not used, the system will remove it.
Example # Configure the NAT aging time for TCP to be 240 seconds.
<Sysname> system-view
[Sysname] nat aging-time tcp 240
nat alg
Syntax nat alg { dns | ftp | ils | nbt | pptp }
undo nat alg { dns | ftp | ils | nbt | pptp }
View System view
Parameter dns: Supports DNS.