F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices NAT and ALG Command Reference-6PW100

28
Parameters
group-number: Number of an address pool, in the range of 1 to 32.
start-ipv4-address: Start IPv4 address in a pool.
end-ipv4-address: End IPv4 address in a pool.
Usage guidelines
If start-ipv4-address is the same as end-ipv4-address, only one address is available in the address pool.
The execution of the undo natpt address-group command may affect some dynamic NAT-PT mappings.
A NAT-PT address pool and an IPv4 NAT address pool do not share any address.
When there is only one address in the NAT-PT address pool, the address applies to only NAPT-PT. When
there is more than one address in the NAT-PT address pool, the end IPv4 address is reserved for NAPT-PT.
The number of addresses used for dynamic NAT-PT mapping is the number of configured addresses
minus 1.
Related commands
display natpt address-group
Examples
# Configure a NAT-PT address pool.
<Sysname> system-view
[Sysname] natpt address-group 3 2.3.4.5 2.3.4.10
natpt enable
Use natpt enable to enable the NAT-PT feature on an interface.
Use undo natpt enable to disable the NAT-PT feature on an interface.
Syntax
natpt enable
undo natpt enable
Default
The NAT-PT feature is disabled on an interface. No NAT-PT is implemented for packets received or sent
on the interface.
Views
Interface view
Default Level
2: System level
Usage guidelines
This command enables both NAT-PT and Address Family Translation (AFT). For information about AFT,
see VPN Configuration Guide.
Do not configure NAT-PT mapping policies and AFT policies on the same device.
Examples
# Enable the NAT-PT feature on an interface.
<Sysname> system-view