R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)
159
Use undo nat address-group to remove an address pool or address group.
Syntax
nat address-group group-number [ start-address end-address [ level level ] ]
undo nat address-group group-number [ start-address end-address [ level level ] ]
Views
System view
Default command level
2: System level
Parameters
group-number: Specifies an address pool number in the range of 0 to 31.
start-address: Specifies the start IP address of the address pool.
end-address: Specifies the end IP address of the address pool. The end-address cannot be lower than the
start-address. If they are the same, the address pool has only one IP address. You can add no more than
255 IP addresses to an address pool.
level level: Specifies the level of port numbers assigned in NAPT translation for this address pool. It takes
the value of either 1 or 0. 0 represents a lower level, and the assignable port numbers range from 35000
to 65535. 1 represents a higher level, and the assignable port numbers range from 1024 to 34999 for
devices in stateful failover state, and from 1024 to 65535 for devices not in stateful failover state. The
default value is 1. In the asymmetric stateful failover network scenario, configure different port assignment
levels for the address pools on the two stateful failover devices.
Usage guidelines
An address pool consists of a set of consecutive IP addresses. An address group consists of multiple
group members, each of which specifies an address pool with the address command. The address pools
of group members might not be consecutive.
• You cannot remove an address pool or address group that has been associated with an ACL.
• Different address pools must not overlap.
• The address pools of group members must not overlap with each other or with other address pools.
• The number of addresses in all address pools and address groups cannot exceed 255.
• An address pool or address group is not needed in the case of Easy IP where the interface's public
IP address is used as the translated IP address.
Examples
# Configure an address pool numbered 1 that contains addresses 202.110.10.10 to 202.110.10.15.
<Sysname> system-view
[Sysname] nat address-group 1 202.110.10.10 202.110.10.15
# Create address group 2 and add a group member that contains IP addresses 10.1.1.1 through 10.1.1.15
to it.
<Sysname> system-view
[Sysname] nat address-group 2
[Sysname-nat-address-group-2] address 10.1.1.1 10.1.1.15
Related commands
• address










