< Home

trust dscp (network QoS profile view)

Function

The trust dscp command configures an AS to perform priority mapping on packets based on DSCP priorities.

The undo trust dscp command cancels configuring an AS to perform priority mapping on packets based on DSCP priorities.

By default, an AS performs priority mapping on packets based on 802.1p priorities.

This command can only be executed on a parent switch.

Format

trust dscp

undo trust dscp

Parameters

None

Views

Network QoS profile view

Default Level

3: Management level

Usage Guidelines

By default, a device performs priority mapping on packets based on 802.1p priorities. If packets have the same 802.1p priority, the device cannot provide differentiated services to packets. To solve this problem, configure the device to perform priority mapping on packets based on DSCP priorities. After the trust dscp command is configured, the device searches for the priority mapping table based on DSCP priorities and assigns an internal priority to packets so that packets are placed in their corresponding queues.

In an SVF system, you can configure an AS to perform priority mapping on packets based on DSCP priorities by running the trust dscp command in the network QoS profile view and then binding the profile to an AS port.

Example

# In a network QoS profile, configure an AS to perform priority mapping on packets based on DSCP priorities.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] network-qos-profile name test
[HUAWEI-um-net-qos-test] trust dscp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >