DSCP and Traffic Class firewall filter match conditions on the loopback interface
You can set the DSCP value for IPv4 traffic and Traffic Class value for IPv6 traffic in firewall filters that you apply to the loopback (lo.0) interface. To configure these forwarding class and DSCP values, apply an output filter to the lo.0 interface.