R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
127
Use undo block-size to restore the default.
Syntax
block-size
block-size
undo block-size
Default
The port block size is 256.
Views
NAT port block group view
Predefined user roles
network-admin
Parameters
block-size: Sets the number of ports for a port block. The value range is 1 to 65535.
Usage guidelines
When you set a port block size, make sure the port block size is not larger than the number of ports in
the port range.
Examples
# Set the port block size to 1024 for port block group 1.
<Sysname> system-view
[Sysname] nat port-block-group 1
[Sysname-port-block-group-1] block-size 1024
display nat all
Use display nat all to display all NAT configuration information.
Syntax
display nat all
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display all NAT configuration information.
<Sysname> display nat all
NAT address group information:
There are 5 NAT address groups.
Address group 1:
Address information:
Start address End address
202.110.10.10 202.110.10.15