Networking · IP Services › QoS › Marking
CoS
Cheat sheet · https://pcornel.dk/topic.php?topic=1246
Answer
Class of Service (CoS) is the 3-bit 802.1p priority field in the 802.1Q VLAN tag (values 0–7); it exists only on trunks and is lost when the frame is routed.
Remember
- CoS is the 3-bit 802.1p priority (0–7) in the 802.1Q tag.
- It only exists on trunk links and is lost when the tag is removed.
- Voice is typically CoS 5.
First checks
show mls qos interface <interface>— trust state (older platforms)show running-config interface <interface>— trust device cisco-phone / auto qos
Commands
show policy-map interface [interface]- Display QoS class counters, rates and drops.
show policy-map interface Gi1/0/1show auto qos interface Gi1/0/1
Verify in this order
802.1Q tag CoS → trust/map → DSCP
Where it usually breaks
packet selector → class match → marking → policy attachment → queue/policer/shaper → egress counters/drops → receiver behavior
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1246