Zhone 6300 Manual Do Utilizador

Página de 146
A. Command Line Interface
A-12
  
November 
2003
6300-A2-GB20-10
nat napt purge
Minimum Access Level: Administrator
Command Mode: Config
Deletes all many-to-one NAPT mapping entries.
nat timeout [
time]
Minimum Access Level: Administrator
Command Mode: Config
Specifies the NAT timeout value for mappings set up dynamically. If no time is specified, 
the timeout value is reset to the default setting.
Example: nat timeout 90
time – Specifies the amount of inactive time, in minutes, that can elapse before the 
network address translator times out. The default is 20 minutes.
nat napt map 
{ udp | tcp } server-ip port
Minimum Access Level: Administrator
Command Mode: Config
Permits global access to a local server, such as a Web server. Port-based static entries 
can be configured for NAPT. This allows a global host to access a server behind the DSL 
router without exposing the local server’s IP address. 
A maximum of 64 static mappings can be created.
Example: nat napt map tcp 192.128.1.1 102
udp, tcp – Specify the protocol used, User Datagram Protocol or Transmission Control 
Protocol.
server-ip – Enter the IP address of a local server. Only one server of a particular type 
(FTP, Telnet, SMPT, TFTP, gopher, finger, http, etc.) can be supported at one time.
port – The destination port number for the specified server.
Table A-9.
NAT Commands (2 of 4)