R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

171
Syntax
nat port-block-group group-number
undo nat port-block-group group-number
Default
No port block group exists.
Views
System view
Predefined user roles
network-admin
Parameters
group-number: Assigns an ID to the NAT port block group. The value range for this argument is 0 to
65535.
Usage guidelines
A port block group is configured to implement static NAT444. The port block group configuration takes
effect after you apply it to an interface by using the nat outbound port-block-group command.
You must configure the following items for a port block group:
At least one private IP address member (see the local-ip-address command).
At least one public IP address member (see the global-ip-address command).
A port range (see the port-range command).
A port block size (see the block-size command).
The system computes static NAT444 mappings according to the port block group configuration, and
creates entries for the mappings.
Examples
# Create NAT port block group 1.
<Sysname>system-view
[Sysname]nat port-block-group 1
[Sysname-port-block-group-1]
Related commands
block-size
display nat all
display nat port-block-group
global-ip-pool
local-ip-address
nat outbound port-block-group
port-range
nat server
Use nat server to create a mapping between the IP address and port of an internal server to a NAT
address and port for an internal server.
Use undo nat server to remove a mapping.