HP VPN Firewall Appliances NAT and ALG Command Reference

30
natpt turn-off traffic-class
Use natpt turn-off traffic-class to set the Traffic Class field in an IPv6 packet translated from an IPv4
packet to 0.
Use undo natpt turn-off traffic-class to restore the default.
Syntax
natpt turn-off traffic-class
undo natpt turn-off traffic-class
Default
The value of the Traffic Class field in an IPv6 packet translated from an IPv4 packet is the same as that
of the ToS field in the IPv4 packet.
Views
System view
Default command level
2: System level
Examples
# Set the Traffic Class field in an IPv6 packet translated from an IPv4 packet to 0.
<Sysname> system-view
[Sysname] natpt turn-off traffic-class
natpt v4bound dynamic
Use natpt v4bound dynamic to configure a dynamic source address mapping policy for packets from
IPv4 hosts to IPv6 hosts by associating an ACL with a NAT-PT prefix.
Use undo natpt v4bound dynamic to remove the association.
Syntax
natpt v4bound dynamic acl number acl-number prefix natpt-prefix
undo natpt v4bound dynamic acl number acl-number
Views
System view
Default command level
2: System level
Parameters
acl number acl-number: Specifies an IPv4 ACL number in the range of 2000 to 2999.
prefix natpt-prefix: Specifies the NAT-PT prefix, which is 96 bits in length.
Usage guidelines
For a packet from an IPv4 host to an IPv6 host, if the source IPv4 address matches the specified ACL, the
NAT-PT prefix is added to translate the source IPv4 address into an IPv6 address.