R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

174
Syntax
port-range port-range-start port-range-end
undo port-range
Default
The port range for a NAT address group is 1 to 65535.
Views
NAT address group view
Default command level
2: System level
Parameters
port-range-start: Specifies the start port in the range of 1 to 65535.
port-range-end: Specifies the end port in the range of 1 to 65535. The end port must not be lower than
the start port.
Usage guidelines
This command takes effect only on a NAT address pool that is applied in PAT mode.
Examples
# Configure the port range as 2 to 5 for NAT address group 1.
<Sysname> system-view
[Sysname] nat address-group 1
[Sysname-nat-address-group-1] port-range 2 5
Related commands
nat address-group
reset nat session
Use reset nat session to clear the address translation table and release the memory dynamically
assigned for storing the table.
Syntax
reset nat session
Views
User view
Default command level
2: System level
Parameters
None
Examples
# Clear the address translation table.
<Sysname> reset nat session