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

Table Of Contents
132
[Sysname-Serial2/1/0] nat outbound 2001
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 you do not specify this option, no
VRRP group is associated.
Examples
# Configure a one-to-one NAT mapping and enable static NAT on interface Serial 2/2/0.
<Sysname> system-view
[Sysname] nat static 192.168.1.1 2.2.2.2
[Sysname] interface serial 2/2/0
[Sysname-Serial2/2/0] nat outbound static
Related commands
display nat static
nat server (for extended NAT server)
Use nat server to define an 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-port [ vpn-instance global-name ] inside server-group group-number
[ vpn-instance local-name ]
undo nat server protocol pro-type global { global-address | current-interface | interface interface-type
interface-number } global-port [ vpn-instance global-name ] inside server-group group-number
[ vpn-instance local-name ]
Views
Interface view