The set firewall filter sequence then dscp command remarks the DSCP priority in packets.
set firewall filter <filter-name> sequence <number> then dscp <dscp-value>
Specifies a filter name. The value is a string.
If the value is copp, it indicates a COPP configuration, please refer to set firewall filter copp sequence then dscp for details.
Specifies filter sequence number. The value is an integer that ranges from 0 to 9999.
Specifies a value to remark the DSCP priority in packets. The value is an integer in the range of 0 to 63.
To provide differentiated services based on the DSCP priority, run this command to configure the device to remark the DSCP priority in IP packets in a traffic behavior. The DSCP remark function is enabled only when a remarked DSCP priority is set by the user.
Whether the DSCP remark is applied to the inbound or outbound direction on an interface, the device still processes outgoing packets based on the original priority value in the packets, but all the downstream Layer 3 devices processes the packets based on the remarked priority.
admin@Xorplus# set firewall filter f1 sequence 51 then dscp 20