H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – NAT, Netstream, Policy Routing
H3C S7500 Series Ethernet Switches Chapter 1
NAT Configuration Commands
1-20
Description
Use the reset nat session command to clear NAT mapping table from memory and NP
(network processor).
Examples
# Clear the NAT mapping table established by the LPU in slot 3.
<H3C> reset nat session slot 3
1.1.18 nat ftp server
Syntax
nat ftp server global global-addr global-port inside host-addr host-port slot
slot-number
undo nat ftp server global global-addr global-port inside host-addr host-port slot
slot-number
View
VLAN interface view
Parameters
global-addr: Public IP address of an internal FTP server.
global-port: Public port number of the internal FTP server. This argument ranges from 0
to 12287. For port 21, you can use keyword ftp to replace this argument.
host-addr: Private IP address of the internal FTP server.
host-port: Private port number of the internal FTP server. This argument ranges from 0
to 65535. For port 21, you can use keyword ftp to replace this argument.
Caution:
Among the ports of a non-standard internal FTP server available to the private network
(that is, port 0 through port 65535), do not use the known ports other than port 21. (You
will be prompted in CLI if you specify them in the commands listed in the following
commands.)
Among ports 0 through 65,535, any well-known ports other than port 21 cannot be used
as the private ports of non-standard internal FTP servers. (You can see those
well-known ports on CLI by command help.)
slot-number: Slot number of an LPU.