< Home

remark dscp (QoS profile view)

Function

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.

Format

remark dscp dscp-value { inbound | outbound }

undo remark dscp { inbound | outbound }

Parameters

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.

-

Views

QoS profile view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure the device to re-mark the DSCP priority in incoming IP packets with 56 in the QoS profile huawei.

<HUAWEI> system-view
[HUAWEI] qos-profile name huawei
[HUAWEI-qos-huawei] remark dscp 56 inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >