Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

QoS Trust Boundaries

  • CoS is 3 bits, or 7 values
  • DSCP is 6 bits, or 64 values

Config

Trust if its a phone

!
! if a phone detected with CDP
!    then trust dscp
!
mls qos trust device cisco-phone
mls qos trust dscp

Absolute Trust

mls qos trust dscp

DSCP transparency

Is off by default.

This means the CoS bits take priority and re-write the DSCP portion of the L3 header.

To turn this feature on, (to let DSCP move transparently through the switches) use no mls qos rewrite ip dscp

IOS-XE C9300 trust and queuing behavior

An example for one platform to demonstrate how complex QoS trust can become.

Incoming PacketOutgoing PacketTrust BehaviorQueuing Behavior
Layer 3Layer 3Preserve DSCP/PrecedenceBased on DSCP
Layer 2Layer 2Not applicableBased on CoS
TaggedTaggedPreserve DSCP and CoSBased on DSCP (trust DSCP takes precedence)
Layer 3TaggedPreserve DSCP, CoS is set to 0Based on DSCP

Maps

Default CoS-to-DSCP Map

CoS ValueDSCP Value
00
18
216
324
432
540
648
756

Default DSCP-to-CoS Map

DSCP ValueCoS Value
0–70
8–151
16–232
24–313
32–394
40–475
48–556
56–637

References

Cisco - QoS Configuration Guide, Cisco IOS-XE - 26.x.x - C9300

Last Modified • Friday, June 26, 2026. 11:49 pm UTC+00:00 • Commit: 3e63b9f