Setting the DSCP value for DHCPv6 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 DHCPv6 packets:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Set the DSCP value for DHCPv6 packets sent by the DHCPv6 server.

ipv6 dhcp dscp dscp-value

Optional.

By default, the DSCP value in DHCPv6 packets is 56.