The remark dscp command configures the device to re-mark DSCP priorities in IP packets in a QoS profile.
The undo remark dscp command cancels the configuration.
By default, the device does not re-mark DSCP priorities in IP packets in a QoS profile.
Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
Parameter |
Description |
Value |
---|---|---|
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. |
inbound |
Specifies the DSCP priority in incoming IP packets. |
- |
outbound |
Specifies the DSCP priority in outgoing IP packets. |
- |
Usage Scenario
When the device needs to provide differentiated services based on DSCP priorities in IP packets, run the remark dscp command to configure the device to re-mark DSCP priorities in IP packets in a QoS profile.
Precautions
When the device processes IPv6 packets, or when the device uses the direct forwarding mode to process IPv4 packets, the remark dscp command cannot be used to re-mark DSCP priorities in these packets.
When packets match both outbound DSCP priority re-marking and outbound priority mapping that are configured on the device, only outbound priority mapping takes effect.
On the device that uses an earlier version of V200R011C10, the DSCP priority re-marking direction cannot be specified. When the device that uses an earlier version of V200R011C10 is upgraded to V200R011C10, the device re-marks DSCP priorities of incoming packets by default.
If you run the remark dscp command in the same QoS profile view multiple times, only the latest configuration takes effect.