The set firewall filter sequence then dscp command remarks the DSCP priority in packets.


Command Syntax

set firewall filter <filter-name> sequence <number> then dscp <dscp-value>


Parameter

Parameter

Description

filter <filter-name>

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.

sequence <number>

Specifies filter sequence number. The value is an integer that ranges from 0 to 9999.

dscp <dscp-value>

Specifies a value to remark the DSCP priority in packets. The value is an integer in the range of 0 to 63.

 

Usage Guidelines

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.


Example

admin@Xorplus# set firewall filter f1 sequence 51 then dscp 20