F3215-HP Load Balancing Module Network Management Command Reference-6PW101

112
nat outbound static
Use nat outbound static to enable static NAT on an interface, making the configured static NAT
mappings take effect.
Use undo nat outbound static to disable static NAT on the interface.
Syntax
nat outbound static [ track vrrp virtual-router-id ]
undo nat outbound static [ track vrrp virtual-router-id ]
Views
Interface view
Default command 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. If this option is not specified, no VRRP
group is associated.
Examples
# Configure a one-to-one NAT mapping and enable static NAT on interface GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] nat static 192.168.1.1 2.2.2.2
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] nat outbound static
Related commands
display nat static
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 [ acl-number ] 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 [ acl-number ] 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 ]
Views
Interface view
Default command level
2: System level