R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)
169
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 index protocol pro-type global { global-address global-port1 global-port2 inside
local-address1 local-address2 local-port [ vpn-instance local-name ] [ track vrrp virtual-router-id ] |
current-interface [ global-port ] inside local-address [ local-port ] [ vpn
-instance local-name ]
[ remote-host host-address ] [ lease-duration lease-time ] [ description string ] }
undo nat server index protocol pro-type global { global-address global-port1 global-port2 inside
local-address1 local-address2 local-port [ vpn-instance local-name ] [ track vrrp virtual-router-id ] |
current-interface [ global-port ] inside local-address [ local-port ] [ vpn-instance local-name ]
[ remote-host host-address ] [ lease-duration lease-time ] [ description string ] }
Views
Interface view
Default command level
2: System level
Parameters
index: Specifies the index of the internal server, in the range of 1 to 256.
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.
local-port: Specifies the port number provided by the internal server, in the range of 0 to 65535,
excluding FTP port number 20.
• You can use the service names to represent those well-known port numbers. For example, you can
use www to represent port number 80, ftp to represent port number 21, and so on.










