R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101
89
View
Interface view
Default level
2: System level
Parameters
track vrrp virtual-router-id: Associates static NAT with a VRRP group. The virtual-router-id argument
indicates the number of the VRRP group, in the range of 1 to 255. Without this argument specified, no
VRRP group is associated.
Description
Use the nat outbound static command to enable static NAT on an interface, making the configured static
NAT mappings take effect.
Use the undo nat outbound static command to disable static NAT on the interface.
Related commands: display nat static.
Examples
# Configure a one-to-one NAT mapping and enable static NAT on interface Ten-GigabitEthernet 0/0.1.
<Sysname> system-view
[Sysname] nat static 192.168.1.1 2.2.2.2
[Sysname] interface Ten-GigabitEthernet 0/0.1
[Sysname- Ten-GigabitEthernet0/0.1] nat outbound static
nat server
Syntax
nat server protocol pro-type global { global-address | interface interface-type interface-number |
current-interface } global-port1 global-port2 inside local-address1 local-address2 local-port [ track vrrp
virtual-router-id ]
undo nat server protocol pro-type global { global-address | interface interface-type interface-number |
current-interface } global-port1 global-port2 inside local-address1 local-address2 local-port [ track vrrp
virtual-router-id ]
View
Interface view
Default level
2: System level
Parameters
index: Index of the internal server.
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: Public IP address for the internal server.
interface: Uses a specified interface address as the public IP address for the internal server. This applies
to only Easy IP.