R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
134
Related commands
nat server-group
display nat server
nat server (for normal NAT server)
Use nat server to configure a load sharing internal server.
Use undo nat server to remove the configuration.
Syntax
nat server protocol pro-type global { global-address | current-interface | interface interface-type
interface-number } global-port1 global-port2 [ vpn-instance global-name ] inside local-address1
local-address2 local-port [ vpn-instance local-name ] [ track vrrp virtual-router-id ]
undo nat server protocol pro-type global { global-address | current-interface | interface interface-type
interface-number } global-port1 global-port2 [ vpn-instance global-name ] inside local-address1
local-address2 local-port [ vpn-instance local-name ] [ track vrrp virtual-router-id ]
nat server protocol pro-type global { global-address | current-interface | interface interface-type
interface-number } [ global-port ] [ vpn-instance global-name ] inside local-address [ local-port ]
[ vpn
-instance local-name ] [ track vrrp virtual-router-id ]
undo nat server protocol pro-type global { global-address | current-interface | interface interface-type
interface-number } [ global-port ] [ vpn-instance global-name ] inside local-address [ local-port ]
[ vpn-instance local-name ] [ track vrrp virtual-router-id ]
Views
Interface view
Default command level
2: System level
Parameters
protocol pro-type: Specifies a protocol type. pro-type supports TCP, UDP, and ICMP. If ICMP is specified,
do not specify port number for the internal server.
global-address: Specifies the public IP address for the internal server.
current-interface: Uses the current interface address as the external IP address for the internal server.
interface: Uses a specific interface address as the external IP address for the internal server, enabling
Easy IP.
interface-type interface-number: Specifies the interface type and interface number. Only loopback
interface is supported and must be configured. Otherwise the configuration is considered illegal.
global-port1, global-port2: Specifies a range of ports that have a one-to-one correspondence with the IP
addresses of the internal hosts. The global-port2 argument must be greater than global-port1.
local-address1, local-address2: Defines a consecutive range of addresses that have a one-to-one
correspondence with the range of ports. The local-address2 argument must be greater than
local-address1 and that the number of addresses must match that of the specified ports.