Setting a DSCP value for NTP packets

The DSCP value determines the sending precedence of a packet.

To set a DSCP value for NTP packets:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Set a DSCP value for NTP packets.

  • IPv4 packets:ntp-service dscp dscp-value

  • IPv6 packets:ntp-service ipv6 dscp dscp-value

The default DSCP value is 48 for IPv4 packets and 56 for IPv6 packets.