remark dscp (QoS profile view)
Function
The remark dscp command configures an action of re-marking the DSCP priority in IP packets in a QoS profile.
The undo remark dscp command deletes the configuration.
By default, an action of re-marking the DSCP priority in IP packets is not configured in a QoS profile.
Format
remark { inbound | outbound } dscp { dscp-name | dscp-value }
undo remark { inbound | outbound } dscp
Parameters
Parameter |
Description |
Value |
---|---|---|
inbound |
Re-marks the DSCP priority in IP packets in the inbound direction. |
- |
outbound |
Re-marks the DSCP priority in IP packets in the outbound direction. |
- |
dscp-name |
Specifies the DSCP priority name in IP packets. |
The value can be ef, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3, cs4, cs5, cs6, cs7, or default. |
dscp-value |
Specifies the DSCP priority in IP packets. |
The value is an integer that ranges from 0 to 63. A larger value indicates a higher priority. |
Usage Guidelines
Usage Scenario
To provide differentiated services based on the DSCP priority of packets, run the remark dscp command to configure the device to re-mark the DSCP priority of the packets.
Follow-up Procedure
Run the qos-profile (user group view) command in the user group view to bind the user group to the corresponding QoS profile that has DSCP priority re-marking configured.
Precautions
If a traffic policy containing remark dscp is applied to the outbound direction on an interface, the device still processes outgoing packets based on the original priority but the downstream Layer 3 device or above processes the packets based on the re-marked priority.
If you run the remark dscp command repeatedly in the same QoS profile view, only the latest configuration takes effect.