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

184
Usage guidelines
The port range must include all ports that a public IP address uses for address translation.
The number of ports in a port range cannot be smaller than the port block size.
Examples
# Specify the port range as 1024 to 65535 for NAT address group 1.
<Sysname> system-view
[Sysname] nat address-group 1
[Sysname-nat-address-group-1] port-range 1024 65535
# Specify the port range as 30001 to 65535 for NAT port block group 1.
<Sysname> system-view
[Sysname] nat port-block-group 1
[Sysname-nat-port-block-group-1] port-range 30001 65535
Related commands
nat address-group
nat port-block-group
reset nat session
Use reset nat session to clear NAT sessions.
Syntax
MSR2000/MSR3000:
reset nat session
MSR4000:
reset nat session [ slot slot-number ]
Views
User view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a card by its slot number. If you do not specify this option, this command clears
NAT sessions for all cards. (MSR4000.)
Usage guidelines
After you remove the NAT session, the corresponding NAT EIM table and NO-PAT table are removed at
the same time.
If you do not specify any keyword, this command clears all NAT sessions.
Examples
# (MSR2000/MSR3000.) Clear all NAT sessions.
<Sysname> reset nat session
# (MSR4000.) Clear NAT sessions of slot 2.
<Sysname> reset nat session slot 2