Setting the DSCP value for IPv6 DNS packets

An IPv6 packet header contains an 8-bit Traffic class field. This field identifies the service type of IPv6 packets. As defined in RFC 2474, the first six bits set the Differentiated Services Code Point (DSCP) value, and the last two bits are reserved. Network devices use the DSCP value as a reference to determine the packet priority for transmission.

To set the DSCP value for IPv6 DNS packets:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Set the DSCP value for IPv6 DNS packets.

dns ipv6 dscp dscp-value

Optional.

By default, the DSCP value in IPv6 DNS packets is 0.