F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices NAT and ALG Command Reference-6PW100
30
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.
Views
System view
Default Level
2: System level
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
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 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