< Home

dscp (PBR rule view)

Function

The dscp command sets a DSCP value for a PBR rule.

The undo dscp command cancels the setting.

Format

dscp dscp-value

undo dscp dscp-value

Parameters

Parameter Description Value
dscp-value

Specifies a DSCP value.

The value can be an integer ranging from 0 to 63. The value can also be: af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3, cs4, cs5, cs6, cs7, default or ef.

Views

PBR rule view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Set the DSCP value to af22 in a PBR rule named test.

<sysname> system-view
[sysname] policy-based-route
[sysname-policy-pbr] rule name test
[sysname-policy-pbr-rule-test] dscp af22
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >