R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
126
NAT commands
In this chapter, "MSR2000" refers to MSR2003. "MSR3000" collectively refers to MSR3012, MSR3024,
MSR3044, MSR3064. "MSR4000" collectively refers to MSR4060 and MSR4080.
address
Use address to add a member to a NAT address group. A group member specifies an address pool.
Use undo address to remove a group member from a NAT address group.
Syntax
address start-address end-address
undo address start-address end-address
Default
No address group member exists.
Views
NAT address group view
Predefined user roles
network-admin
Parameters
start-address end-address: Specifies the start and end IP addresses of the group member. The
end-address must not be lower than the start-address. If they are the same, the group member has only
one IP address.
Usage guidelines
A NAT address group is a set of address group members. The source address in a packet destined for an
external network is translated into an address in one of group members.
Each member can contain a maximum of 256 addresses.
If you add multiple members, make sure they do not overlap.
Examples
# Add two group members to an address group.
<Sysname> system-view
[Sysname] nat address-group 2
[Sysname-nat-address-group-2] address 10.1.1.1 10.1.1.15
[Sysname-nat-address-group-2] address 10.1.1.20 10.1.1.30
Related commands
nat address-group
block-size
Use block-size to set the port block size.