Network Bytes · Episode 54 · CCNA 4.7
"QoS: why your video call wins"
Quality of Service (QoS) lets a busy network decide which packets go first. Traffic is classified and marked with DSCP in the IP header, voice gets Expedited Forwarding, and routers send the priority queue first when the link is congested.
Why voice can't wait
When more traffic arrives at a link than it can send, packets wait in a queue. For a big download, a few extra milliseconds don't matter: the file still arrives, just a little later. A voice or video call is different. Its packets need to arrive steadily and on time; a packet that arrives too late is useless, so you hear choppy or robotic audio. QoS is the set of tools that gives time-sensitive traffic better treatment than traffic that can wait.
Step 1: classify and mark
First the network has to know what each packet is. Classification sorts traffic into classes, for example by application, port or the device it came from. Then marking writes the class into the packet so every router along the path can see it without classifying again. The usual place is the DSCP (Differentiated Services Code Point): the 6-bit Differentiated Services field in the IPv4 header's ToS byte or the IPv6 Traffic Class byte, defined in RFC 2474. Marking is best done close to the source, at the edge of the network (often at the access switch or the phone itself).
Voice gets EF: the priority lane
Each DSCP value maps to a per-hop behavior (PHB): how each router treats that packet. Expedited Forwarding (EF), DSCP 46, is the low-delay, low-loss, low-jitter behavior from RFC 3246, and it is the usual marking for voice. Other classes use Assured Forwarding (AF) values; interactive video, for example, often uses AF41 (RFC 4594). Unmarked traffic is best effort (DSCP 0).
Step 2: queue, but only when congested
At the outgoing interface, the router keeps several queues. With Cisco's low-latency queuing (LLQ), EF traffic goes into a strict priority queue that is always sent first; the remaining bandwidth is shared between the other queues by weight. To keep voice from starving everything else, the priority queue is policed to its configured rate during congestion. And queuing only changes anything when there is a backlog: on an idle link every packet goes out right away, so QoS "kicks in" when the link is congested.
Try it yourself
Start a video call (or a voice call over Wi-Fi) and then start a big download or a speed test on the same network. Listen for choppy audio. Then open your home router's settings page and look for a section called QoS, "traffic prioritization" or "gaming/streaming priority". Many home routers let you mark one device or one app as high priority; try it and repeat the test.
Good to know
- DSCP is the 6-bit Differentiated Services field (RFC 2474) in the IPv4 ToS / IPv6 Traffic Class byte.
- Expedited Forwarding (RFC 3246) is DSCP 46 and is the usual marking for voice; video often uses AF41 or similar per RFC 4594, so "voice gets EF" is the CCNA-level rule.
- Cisco's low-latency queuing (LLQ) adds a strict priority queue that is policed to its configured rate during congestion, so it cannot starve other traffic.
- QoS also includes policing, shaping and congestion avoidance (WRED), left out of the video.
- "Only matters when congested" is simplified: queuing only reorders packets when there is a backlog.
For CCNA learners
This lines up with CCNA 200-301 exam topic 4.7, explain the forwarding per-hop behavior (PHB) for QoS, such as classification, marking, queuing, congestion, policing, and shaping: know that traffic is classified and marked (DSCP in the IP header), that voice is marked EF, and that a priority queue (LLQ) sends voice first during congestion.
Answer to the comment question
64 markings. Each of the 6 bits can be 0 or 1, so there are 2 × 2 × 2 × 2 × 2 × 2 = 2⁶ = 64 combinations: DSCP values 0 through 63.
Test your knowledge
Quick quiz: "QoS: why your video call wins"
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- IETF, "RFC 2474, Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers": the 6-bit DSCP field
- IETF, "RFC 3246, An Expedited Forwarding PHB": low-delay, low-loss forwarding; DSCP 46
- IETF, "RFC 4594, Configuration Guidelines for DiffServ Service Classes": telephony uses EF
- Cisco, CCNA 200-301 v1.1 exam topics: 4.7 explain the forwarding per-hop behavior (PHB) for QoS
Video transcript
Why does your video call stay smooth while a huge download is running?
When a link is busy, packets wait in line. A big download doesn't mind a short wait. A voice call does: a late packet means choppy audio.
Quality of Service, or QoS, lets the network choose who goes first. Step one: classify traffic and mark it, using a six bit field in the IP header called DSCP.
Voice usually gets the mark Expedited Forwarding: an airport priority lane.
Step two: queue. The router sends the priority lane first, then shares what's left. And it only kicks in when the link is congested.
DSCP is a six bit field. How many different markings can it hold? Comment your answer below!
That's your byte.