Skip to content
FALCON CORETECHNOLOGIES

// Lesson 38 of 49 · IP services

QoS basics

Bandwidth, delay, jitter and loss; classification and marking with DSCP and CoS; queuing, policing and shaping.
2 min read#qos#dscp

When a link is busy, packets wait in queues. Quality of Service (QoS) decides which packets wait and which go first, so voice and critical applications keep working when the network is congested.

What QoS manages

Characteristic Meaning Voice guideline (one-way)
Bandwidth Capacity ~30–100 kbps per call (codec dependent)
Delay (latency) Time to arrive ≤ 150 ms
Jitter Variation in delay ≤ 30 ms
Loss Dropped packets ≤ 1%

Voice and video are sensitive to delay and jitter; file transfers just need bandwidth and tolerate delay.

The QoS toolkit

  1. Classification — recognise the traffic (by ACL, protocol, application recognition such as NBAR).
  2. Marking — write a value into the packet so later devices do not have to classify again:
    • DSCP — 6 bits in the IP header. Common values: EF (46) for voice, AF41 for video, CS3/AF31 for call signalling, 0 (default) for best effort.
    • CoS — 3 bits in the 802.1Q tag (Layer 2), 0–7; voice usually 5.
  3. Queuing — separate queues with different treatment: LLQ gives voice a strict-priority queue (with a limit), CBWFQ guarantees bandwidth to other classes.
  4. Congestion avoidance — WRED drops some TCP packets early so flows slow down before queues fill.
  5. Policing vs shaping:
    • Policing drops (or re-marks) traffic above a rate — used inbound, e.g. by service providers.
    • Shaping buffers excess traffic and sends it later — used outbound to match a slower WAN rate.

Trust boundary

Marks set by end devices can be wrong or abused. The trust boundary is where the network starts believing markings — typically at the access switch, trusting the IP phone but re-marking traffic from the PC behind it.

Key points

  • QoS matters only when there is congestion; it does not create bandwidth.
  • Classify → mark (DSCP/CoS) → queue → avoid congestion → police/shape.
  • Voice: DSCP EF (46), CoS 5, strict-priority queue (LLQ).
  • Policing drops; shaping delays.

Sign in to save your lesson progress across devices. You can read every published lesson without an account.