HP VPN Firewall Appliances NAT and ALG Command Reference
28
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 command 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
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] natpt enable
natpt prefix
Use natpt prefix to configure a NAT-PT prefix.
Use undo natpt prefix to remove the configured NAT-PT prefix.
Syntax
natpt prefix natpt-prefix [ interface interface-type interface-number [ nexthop ipv4-address ] ]
undo natpt prefix natpt-prefix
Views
System view