Switch Default CoS-to-DSCP and DSCP-to-CoS Mappings

Here are the default values for the mapping until you decide to change it

First let’s see the CoS-to-DSCP mapping

  • CoS 0 => DSCP 0
  • CoS 1 => DSCP 8
  • CoS 2 => DSCP 16
  • CoS 3 => DSCP 24
  • CoS 4 => DSCP 32
  • CoS 5 => DSCP 40
  • CoS 6 => DSCP 48
  • CoS 7 => DSCP 56

After let see the reverse side with the DSCP-to-CoS mapping

  • DSCP 0 => CoS 0
  • DSCP 8,10 => CoS 1
  • DSCP 16,18 => CoS 2
  • DSCP 24,26 => CoS 3
  • DSCP 32,34 => CoS 4
  • DSCP 40,46 => CoS 5
  • DSCP 48 => CoS 6
  • DSCP 56 => CoS 7

CoS Layer 2 >< ToS Layer 3

Just as a reminder , CoS marking (Layer 2) doesn’t “survive” to Layer 3 as the route processor will remark it.

It is why the most of the time a Cos to DSCP rewriting policy must be applied on the input direction of the interface.