R3721-F3210-F3171-HP High-End Firewalls NAT and ALG Command Reference-6PW101
24
natpt enable
Syntax
natpt enable
undo natpt enable
View
Interface view
Default level
2: System level
Parameters
None
Description
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.
By default, the NAT-PT feature is disabled on an interface. That is, no NAT-PT is implemented for packets
received or sent on the interface.
This command enables both NAT-PT and Address Family Translation (AFT). For more information about
AFT, see VPN Configuration Guide.
Do not configure NAT-PT and AFT on the same device.
Examples
# Enable the NAT-PT feature on an interface.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0
[Sysname-GigabitEthernet0/1] natpt enable
natpt prefix
Syntax
natpt prefix natpt-prefix [ interface interface-type interface-number [ nexthop ipv4-address ] ]
undo natpt prefix natpt-prefix
View
System view
Default level
2: System level
Parameters
natpt-prefix: Prefix of an IPv6 address, 96 bits in length.
interface interface-type interface-number: Specifies the interface on which NAT-PT is enabled. If the
interface is not specified or NAT-PT is not enabled, IPv6 packets are discarded. interface-type
interface-number specifies the interface type and number.