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-17
2) Delete an internal server
z Use the following command when TCP/UDP is used.
undo nat server protocol pro-type global global-addr global-port inside host-addr
host-port slot slot-number
z Use the following command when protocols other than TCP/UDP are used.
undo nat server protocol pro-type global global-addr inside host-addr slot
slot-number
3) Configure a group of consecutive internal servers
nat server protocol pro-type global global-addr global-port1 global-port2 inside
host-addr1 host-addr2 host-port slot slot-number
4) Delete a group of consecutive internal servers
undo nat server protocol pro-type global global-addr global-port1 global-port2
inside host-addr1 host-addr2 host-port slot slot-number
View
VLAN interface view
Parameters
pro-type: Protocol carried by the IP protocol, which can be specified by using a keyword
such as tcp, udp, or icmp.
global-addr: Public IP address provided for access from external networks.
global-port: Public port number provided for access from external networks.
host-addr: Private IP address of an internal server.
host-port: Private port number provided by the server, in the range from 0 to 65535. At
the position of this argument, you can also use a keyword to indicate a well-known port.
For example, you can use www for WWW service port 80, and ftp for ftp service port 21.
Keyword any has the same meaning with port number 0, which indicates that the
internal server can provide any available services in the internal network; but this is not
supported currently.
Caution:
The global-port and host-port arguments are not needed if a protocol other than TCP
and UDP is used which does not use port number.