R3166-R3206-HP High-End Firewalls NAT and ALG Command Reference-6PW101
11
nat outbound static
Syntax
nat outbound static [ track vrrp virtual-router-id ]
undo nat outbound static [ track vrrp virtual-router-id ]
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 keyword and argument
combination 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 GigabitEthernet0/1.
<Sysname> system-view
[Sysname] nat static 192.168.1.1 2.2.2.2
[Sysname] interface GigabitEthernet0/1
[Sysname-GigabitEthernet0/1] nat outbound static
nat server
Syntax
nat server protocol pro-type global { global-address | current-interface | interface interface-type
interface-number } [ global-port ] inside local-address [ local-port ] [ vpn-instance local-name ] [ track
vrrp virtual-router-id ]
undo nat server protocol pro-type global { global-address | interface interface-type interface-number |
current-interface } [ global-port ] inside local-address [ local-port ] [ vpn-instance local-name ] [ track vrrp
virtual-router-id ]
View
Interface view
Default level
2: System level
Parameters
index: Index of the internal server, in the range from 1 to 255.