Command Manual – NAT&URPF&VPLS
Quidway S8500 Series Routing Switches
Chapter 1 NAT Configuration Commands
Huawei Technologies Proprietary
1-14
host-addr1 [ host-addr2 ]
: Specifies an address scope of internal hosts that
corresponds to the address range of external service port numbers. host-addr2 must
be bigger than host-addr1. The number of the address scope must be the same as the
number of external service ports.
pro-type
: Indicates the type of the protocol that IP protocol carries. The protocol number
ranges from 1 to 255. You can also use keys to replace. For example, 6 for
tcp
, 17 for
udp
, and 1 for
icmp
.
slotno
: Specifies number of the slot in which the NAT board resides.
Description
Use the
nat server
command to define mapping relationships from external public
addresses and external service port numbers to internal addresses and internal service
port numbers.
Use the
undo nat server
command to cancel the mapping table.
The system will execute the
reset nat session
command automatically after the
undo
nat server
command is executed.;
After the configuration, by using the address and port number defined by the
global-addr
and the
global-port
parameters, you can access the internal server with the
address and port number specified by the
host-addr
and
host-port
parameters.
Caution:
Up to 256 internal server translation commands can be configured for a VLAN
interface.
Up to 4096 internal servers can be configured for a VLAN interface.
Only the same LSBM1NATB board can be configured for a VLAN interface.
Up to 1024 internal server translation commands can be configured in a system.
The interface configured with this command should be connected to the ISP and acts
as the egress of the internal network.
Example
# Specify the IP address of the internal WWW server to be 10.110.10.10, the IP address
of the internal FTP server to be 10.110.10.11, and allow external hosts to access the
WWW server and FTP server by http://202.110.10.10:8080 and ftp://202.110.10.10
respectively. Suppose that Vlanif2 is connected to the ISP.
[Quidway-Vlan-interface2] nat server protocol tcp global 202.110.10.10 8080
inside 10.110.10.11 www slot 3
Содержание Quidway S8500 Series
Страница 53: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Port Huawei Technologies Proprietary ...
Страница 145: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual VLAN QinQ Huawei Technologies Proprietary ...
Страница 184: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Network Protocol Huawei Technologies Proprietary ...
Страница 276: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Routing Protocol Huawei Technologies Proprietary ...
Страница 493: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Multicast Protocol Huawei Technologies Proprietary ...
Страница 622: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual QoS ACL Huawei Technologies Proprietary ...
Страница 706: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual MPLS Huawei Technologies Proprietary ...
Страница 816: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual STP Huawei Technologies Proprietary ...
Страница 867: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Security Huawei Technologies Proprietary ...
Страница 953: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Reliability Huawei Technologies Proprietary ...
Страница 972: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual System Management Huawei Technologies Proprietary ...
Страница 1180: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual PoE Huawei Technologies Proprietary ...
Страница 1198: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual NAT URPF VPLS Huawei Technologies Proprietary ...
Страница 1238: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Integrated Management Huawei Technologies Proprietary ...
Страница 1300: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Appendix Huawei Technologies Proprietary ...