H-QoS not supported on inbuilt interfaces on MX104
https://puck.nether.net/pipermail/juniper-nsp/2015-June/030735.html
H-QoS is not supported on the inbuilt 10G ports of the MX104
QX Complex supports HQoS on MICs only, not on the integrated 4 > 10GE ports on the PMC. I.e. no HQoS support on the 10GE uplinks > > 6. Total amount of traffic that can be handled via HQoS is restricted > to 24Gbps. Not all traffic flows can be shaped/policed via HQoS due to a > throughput restriction between the MQ and the QX. Note that the MQ can > still however perform basic port based policing/shaping on any flows. HQoS > support on the 4 installed MICs can only be enabled via a separate license. > Total of 128k queues on the chassis
DSCP classifier applied under every unit and scheduler-map applied to main interface:
set class-of-service interfaces xe-2/0/0 scheduler-map MYSCHEDMAP set class-of-service interfaces xe-2/0/0 unit * classifier dscp MYSDCPCLASSER
Book on MX series
https://www.oreilly.com/library/view/juniper-mx-series/9781491932711/ch01.html