R3721-F3210-F3171-HP High-End Firewalls NAT and ALG Command Reference-6PW101
25
nexthop ipv4-address: Specifies the IPv4 address of the next hop. This option does not work on the
firewall.
Description
Use natpt prefix to configure a NAT-PT prefix.
Use undo natpt prefix to remove the configured NAT-PT prefix.
A NAT-PT prefix must be different from the IPv6 address prefix of the receiving interface on the NAT-PT
device. Otherwise, NAT-PT translation for a received packet with the prefix will result in packet loss.
The execution of the undo natpt prefix command may affect the translation of some mappings. Therefore,
use this command with caution.
Examples
# Configure a NAT-PT prefix in system view.
<Sysname> system-view
[Sysname] natpt prefix 2001::
natpt turn-off tos
Syntax
natpt turn-off tos
undo natpt turn-off tos
View
System view
Default level
2: System level
Parameters
None
Description
Use natpt turn-off tos to set the ToS field in an IPv4 packet translated from an IPv6 packet to 0.
Use undo natpt turn-off tos to restore the default.
By default, the value of the ToS field in an IPv4 packet translated from an IPv6 packet is the same as that
of the Traffic Class field in the IPv6 packet.
Examples
# Set the ToS field in an IPv4 packet translated from an IPv6 packet to 0.
<Sysname> system-view
[Sysname] natpt turn-off tos
natpt turn-off traffic-class
Syntax
natpt turn-off traffic-class
undo natpt turn-off traffic-class