F3215-HP Load Balancing Module Network Management Command Reference-6PW101
108
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display NAT statistics.
<Sysname> display nat statistics
total PAT session table count: 1
total NO-PAT session table count: 0
total SERVER session table count: 0
total STATIC session table count: 0
nat address-group
Use nat address-group to configure a NAT address pool. If you specify the start and end IP addresses,
this command specifies an address pool. If you do not specify the start and end IP addresses, the
command places you into the address group view.
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: Index of the address pool, in the range of 0 to 255.
start-address: Start IP address of the address pool.
end-address: 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. An address pool cannot contain no more
than 255 IP addresses.
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 may not be consecutive.
• You cannot remove an address pool or address group that has been associated with an ACL.