H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – NAT, Netstream, Policy Routing
H3C S7500 Series Ethernet Switches Chapter 1
NAT Configuration Commands
1-7
A NAT address pool is a set of consecutive public IP addresses. If start-addr and
end-addr are the same, there is only one address in the pool.
Caution:
z A NAT address pool can contain at most 256 IP addresses.
z You cannot delete an address pool that has been associated with an ACL.
z An address pool can be used for NAPT (network address port translation) only when
it contains no more than three addresses.
Examples
# Configure address pool 1 with addresses from 202.110.10.10 to 202.110.10.15.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] nat address-group 1 202.110.10.10 202.110.10.15
1.1.9 nat aging-time
Syntax
nat aging-time { alg time-value | np slow } slot slot-number
undo nat aging-time [ alg | np ] slot slot-number
View
System view
Parameters
alg: Sets the NAT connection aging time for CPU processed ALG (application layer
gateway) NAT mapping entries
time-value: Aging time in seconds, ranging from 10 to 86,400. By default, it is 120.
np slow: Sets the NP (network processor) to use the slow aging timer (the aging time is
3,600 seconds). By default, the NP uses the fast aging timer (the aging time is 120
seconds).
slot-number: Slot number of an LPU.
Description
Use the nat aging-time command to set the NAT connection aging time for CPU
processed ALG NAT mapping entries or the NAT connection aging time for NP