R3303-HP 6600/HSR6600 Routers Layer 3 - IP Services Command Reference
131
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
Default command level
2: System level
Parameters
protocol pro-type: Specifies a protocol type, TCP or UDP.
global-address: Specifies the public IP address for the internal server.
current-interface: Uses the current interface's address as the public IP address of the internal server.
interface interface-type interface-number: Uses the specified interface's address as the external IP
address of the internal server, the Easy IP feature. The interface is specified by its type and number. Only
loopback interfaces are supported and the specified loopback interface must exist. Otherwise, the
configuration is invalid.
global-port: Specifies the public port number for the internal server, in the range of 0 to 65535.










