HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

123
NAT commands
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.
You can add a maximum of 255 members to a NAT address group.
The IP addresses of address members on the device must 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
display nat all
Use display nat all to display all NAT configuration information.