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.
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.