Setting the DSCP value for DHCP packets

An IPv4 packet header contains an 8-bit Type of Service (ToS) field. 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 DHCP packets:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

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

dhcp dscp dscp-value

Optional.

By default, the DSCP value is 56.