30% off every course until Sunday, October 11. Our biggest update yet, and we'd like you to try it. Applied automatically at checkout.

Choose your certification
Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

5.7.1. QoS Mechanisms

MechanismWhat It DoesAnalogy
ClassificationIdentify traffic types (ACL, NBAR, port numbers)Check passenger's ticket
MarkingTag packets with priority (DSCP, CoS)Stamp "PRIORITY" on boarding pass
QueuingPut packets in different lines based on marksMultiple security lines
Congestion avoidanceProactively drop low-priority before queue fillsClose regular line when busy
PolicingHard rate limit—drop excess immediately"No more passengers"
ShapingSoft rate limit—buffer excess for later"Wait in holding area"

The QoS pipeline: Traffic flows through these stages in order. First, classify it (what kind of traffic is this?). Then mark it (attach a priority label). Then queue it (put it in the right line). Finally, transmit based on queue priorities.

Policing vs Shaping—when do you use each?
  • Policing: Enforces contracts. ISPs police customer traffic at the edge—exceed your limit, excess gets dropped.
  • Shaping: Smooths traffic. You shape outbound traffic to avoid overwhelming a slow WAN link.

Where drops appear under congestion: a priority (LLQ) class is always served first, up to its configured rate. When the egress link is congested, the other classes, including class-default (which catches everything unmatched), share the bandwidth that is left, and once their queues fill new packets are tail-dropped. show policy-map interface shows packet and drop counters per class.

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder•20 professional certifications