3Com Switch 8800 Advanced Software V5 Configuration Guide

998 CHAPTER 76: NAT CONFIGURATION
n
Clearing the NAT log buffer implies loss of all NAT logs. In general, you are not
recommended to use this command.
NAT Configuration
Example
NAT Configuration
Example
Network requirements
As illustrated in Figure 299, a company accesses the Internet through VLAN 10 of
the NAT-enabled device. The company provides two WWW servers, one FTP server,
and one SMTP server for external users to access. The internal network address is
10.110.0.0/16. The internal address for the FTP server is 10.110.10.1, for the
WWW server 1 is 10.110.10.2, for the WWW server 2 is 10.110.10.3, and for the
SMTP server 10.110.10.4. The company wants to provide a unified IP address to
external users. Specifically, the company has the following requirements:
The internal users in subnet 10.110.10.0/24 can access the Internet, while
users in other network segments cannot.
External PCs can access an internal server.
The company has 6 legal IP addresses ranging from 202.38.160.100/24 to
202.38.160.105/24. Address 202.38.160.100/24 is used as the one for
external access and port 8080 is used for WWW server 2.
Display the information about
active connections
display nat session slot
slot-number protocol { tcp |
udp } [ vpn-instance
vpn-instance-name ] source {
global global-address
global-port | inside
inside-address inside-port }
destination dst-address
destination-port
Available in any view
Display NAT statistics display nat statistics slot
slot-number
Available in any view
Display information about the
connection-limit policy
display connection-limit
policy { policy-number | all }
Available in any view
Display NAT log information display nat log Available in any view
Display information about the
resource allocation and
utilization
display nat limit { all |
public | vpn-instance
vpn-instance--name }
Available in any view
Display NAT log configuration
and statistics
display userlog export slot
slot-number
Available in any view
Clears the records in the NAT
log buffer
reset userlog nat logbuffer
slot slot-number
Available in user view
Clears NAT log statistics reset userlog export slot
slot-number
Available in user view
Clears the address translation
mapping table in the memory
and release the memory
dynamically allocated for
storing the mapping table
reset nat session slot
slot-number
Available in user view
To do... Use the command... Remarks