TL;DR
VoIP QoS only does anything at the hop where packets actually wait in line. Mark voice EF (DSCP 46) as close to the phone as you can trust, honor that marking on every link you own, and give it a policed priority queue at the congested egress, usually the WAN edge. Then prove it with a capture.
Here’s the sentence I wish somebody had tattooed on my forearm early on: marking a packet doesn’t make it go any faster. A DSCP value is a request written on the outside of the envelope, and nothing happens until a switch or router with a full queue reads that request and decides who waits. VoIP QoS is the whole chain of decisions that makes that moment go your way. When a call sounds like a robot gargling gravel, the break is almost always somewhere in that chain, not in the phone.
I learned queuing the old-fashioned way, from a Cisco Press QoS book by Wendell Odom and Michael Cavanaugh. Cav became what I call an unaware mentor; he taught me a ton before he ever knew my name, and years later I got to work alongside him in Alpharetta. A lot of what follows is his lesson, filtered through a career spent mostly at VARs and a title of Enterprise Collaboration Architect (which, to be clear, is a word salad way of saying phone repairman).
This is the practical version. We’ll cover what the markings mean, where to draw the trust boundary, how to size a low latency queue without starving everything else, the Wi-Fi gotcha that bites almost everybody, and how to check your work with a capture instead of a hunch. If your audio is missing entirely rather than choppy, that’s a different animal; start with my SIP one-way audio troubleshooting walkthrough instead.
What VoIP QoS Actually Fixes (and What It Can’t)
Voice is picky in a very specific way. It barely needs any bandwidth, since a G.711 call is 64 kbps of payload. What it can’t tolerate is waiting. The ITU’s G.114 recommendation says that if mouth-to-ear delay stays under 150 ms, most applications, speech included, feel essentially transparent, and it treats 400 ms as the ceiling for general network planning. Jitter (the variation in that delay) and packet loss eat into the same budget, because the receiving phone’s jitter buffer has to soak up the variation, and every millisecond it buffers is another millisecond of delay.
So where does the waiting happen? At speed mismatches and busy links. A 1 Gbps access port feeding a 200 Mbps internet circuit is a funnel. So is a Wi-Fi radio shared by a room full of laptops. When the funnel isn’t full, QoS does nothing at all, and that’s fine. When it is full, QoS decides which packets go first and which ones get dropped. Microsoft’s Teams QoS guide calls these virtual carpool lanes, which is about as plain as it gets.
What QoS can’t do is create bandwidth. If your voice traffic alone is bigger than the pipe, no policy on earth saves you; you need a bigger pipe or fewer simultaneous calls. Hope isn’t a strategy, and neither is a priority queue on a link that’s undersized for the voice it carries.
DSCP in Plain English
The IPv4 header has a one-byte field that used to be called Type of Service (IPv6 calls it Traffic Class). The top six bits are the DSCP and the bottom two are ECN. Six bits gives you 64 possible values, and the industry settled on a handful of them so that your switch and my router mean the same thing when they say “voice.”
Expedited Forwarding is the one that matters most here. RFC 3246 defines the EF per-hop behavior as a building block for low delay, low jitter and low loss, and it recommends codepoint 101110, which is 46 in decimal. RFC 4594 then lays out which service classes should use which markings. This is the cheat sheet I keep handy:
| Traffic | DSCP | Decimal | Where the recommendation comes from |
|---|---|---|---|
| Voice media (RTP) | EF | 46 | RFC 4594 Telephony class; Teams audio default |
| Call signaling (SIP, SCCP) | CS5 or CS3 | 40 or 24 | RFC 4594 says CS5; Cisco IP phones default to CS3 |
| Interactive video | AF41 | 34 | RFC 4594 multimedia conferencing; Teams video default |
| Teams screen sharing | AF21 | 18 | Microsoft’s recommended default |
| Everything else | Default (DF) | 0 | Best effort |
See the wrinkle in the signaling row? The RFC recommends CS5, and so does Microsoft’s Teams guidance, while Cisco’s Catalyst 9000 QoS white paper notes that Cisco IP phones mark call signaling CS3 by default. Neither camp is wrong. What’s wrong is having both in your network with a policy that only matches one of them. My advice is to match both in your signaling class, pick one as the standard for anything you remark yourself, and write the decision down where the next engineer will find it.
There’s a Layer 2 cousin, too. On an 802.1Q trunk or a voice VLAN, the three-bit CoS field (802.1p) carries priority between switches, and phones typically mark voice CoS 5 and signaling CoS 3. That field disappears the moment the frame gets routed, which is one more reason to treat DSCP as the source of truth.
The Trust Boundary: Who Gets to Say “I’m Voice”?
Here’s the uncomfortable truth about markings: anybody can set them. A softphone can mark EF. So can a game client, or somebody’s weekend Python script that read the same RFCs you did. If your network believes every marking it receives, the priority queue fills up with whoever asked loudest, and real voice ends up waiting behind it.
The trust boundary is the point where you decide which markings to believe. Push it as close to the source as you can, while still only trusting things you actually control.
Platform defaults bite people right here. On older Catalyst switches like the 3750, turning QoS on globally made ports untrusted, and incoming markings got rewritten to 0 until you said otherwise. Cisco’s Catalyst 9000 QoS white paper spells out that the newer platforms do the opposite: DSCP is trusted by default on every incoming packet, and markings are kept unless a policy changes them. If you migrated from one generation to the other and carried the old mental model along with your configs, go look at an access port. Go on, I’ll wait.
For desk phones, conditional trust is the clean answer. The switch extends trust only after CDP identifies a Cisco phone on the port, and anything else (including the PC plugged into the phone’s passthrough port) gets its DSCP, IP precedence and CoS remarked to 0:
interface GigabitEthernet1/0/10
description Desk phone with PC behind it
switchport mode access
switchport access vlan 20
switchport voice vlan 120
trust device cisco-phone
One caution straight from Cisco’s AutoQoS document for the Catalyst 9000: the auto qos voip cisco-phone macro shouldn’t be used on IP phones that do video, because it overwrites the DSCP markings of the video packets. If your phones have cameras, build the policy by hand.
Softphones are trickier, because the “phone” is an app running on the very PC you just told the switch not to trust. Microsoft’s answer for Teams is a combination. Managed clients mark their own traffic, and port-based ACLs on your network catch the devices that can’t. That works because Teams uses fixed client source port ranges:
| Teams media | Client source ports | DSCP |
|---|---|---|
| Audio | 50000 to 50019 | 46 (EF) |
| Video | 50020 to 50039 | 34 (AF41) |
| Screen sharing | 50040 to 50059 | 18 (AF21) |
| Calling and meetings signaling | 50070 to 50089 (UDP) | 40 (CS5) |
Two details from that doc trip folks up. QoS has to be enabled globally in the Teams admin center before clients insert any markers at all. And while Windows clients let you customize the markings through policy, Mac, iOS and Android clients use hard-coded values (EF for audio, AF41 for both video and screen sharing). Your classifier should expect that instead of assuming every endpoint follows the table.
Queuing: Where VoIP QoS Earns Its Keep
Marking and trust get the right label onto the right packet. Queuing is where that label finally buys you something. On Cisco IOS XE, the tool for voice is Low Latency Queuing (LLQ), which is what you get when you put the priority command inside a class of an MQC policy.
The detail that matters most lives in Cisco’s tech note comparing the bandwidth and priority commands. A priority class gets both a minimum and a maximum guarantee, enforced by a built-in token bucket policer. During congestion, traffic that fits the configured rate gets low latency and anything above it is dropped; when the link isn’t congested, the class is allowed to run over. That policer is not a bug. It’s the guardrail that keeps a misbehaving priority class from starving every other queue on the interface, which is exactly what Cisco’s original priority queuing feature could do.
How big should the priority queue be? Cisco’s design guidance, repeated in its campus QoS design guide and in the Cisco Press ARCH material, is to keep all strict-priority traffic combined to about a third of link capacity. They’re careful to call that a best practice rather than a mandate, and I’d treat it the same way. If you’re blowing past it, that’s your cue to rethink what’s riding in the priority queue.
Do the Math Instead of Guessing
Sizing the voice queue is arithmetic, not vibes. Cisco’s per-call bandwidth table, which assumes 20 ms packetization and Ethernet Layer 2 headers, puts a G.711 call at 87.2 kbps and a G.729 call at 31.2 kbps, in each direction. The 64 kbps codec rate is only the payload. IP, UDP and RTP add 40 bytes of headers to every packet, and at 50 packets per second that overhead piles up fast.
# Per-call bandwidth, one direction, 20 ms packetization, Ethernet L2.
# Source: Cisco Doc 7934, "Modify Bandwidth Consumption Calculation for Voice Calls"
PER_CALL_KBPS = {"g711": 87.2, "g729": 31.2}
def llq_kbps(peak_calls: int, codec: str = "g711", headroom: float = 1.10) -> int:
"""Priority queue size in kbps for a given number of concurrent calls."""
return round(peak_calls * PER_CALL_KBPS[codec] * headroom)
print(llq_kbps(20)) # 1918
print(llq_kbps(20, "g729")) # 686
Feed it your real peak concurrent calls from the call control reports, not the headcount at the site. If voice rides inside a tunnel (IPsec, GRE or an SD-WAN overlay), the per-call number goes up, because every one of those small packets carries the extra headers, too. I walked through what lives in the underlay versus the overlay in my SD-WAN underlay vs overlay troubleshooting post, and the same thinking applies here.
The Shaper Most People Forget
This one is sneaky. Say your router’s WAN port runs at 1 Gbps, but the circuit you’re paying for is 200 Mbps. The router thinks the interface is wide open, so its queues never fill and your beautiful LLQ never engages. The congestion still happens. It just happens inside the provider’s gear, where your markings may mean nothing at all.
The fix is a hierarchical policy. A parent policy shapes to the contracted rate, so the queue builds in your box, and a child policy does the actual queuing inside that shaper:
class-map match-any VOICE
match dscp ef
class-map match-any CALL-SIGNALING
match dscp cs3
match dscp cs5
!
policy-map WAN-CHILD
class VOICE
priority 1918
class CALL-SIGNALING
bandwidth remaining percent 5
class class-default
bandwidth remaining percent 95
fair-queue
!
policy-map WAN-SHAPE-200M
class class-default
shape average 200000000
service-policy WAN-CHILD
!
interface GigabitEthernet0/0/1
description WAN handoff: 1G port, 200M circuit
service-policy output WAN-SHAPE-200M
Treat that as a starting point and not something to paste into production on a Friday afternoon. Syntax and defaults vary by platform and release, and some engineers shape slightly under the contracted rate to leave room for provider-side overhead. Test it on your circuit and watch the counters.
Wi-Fi: The Hop Everybody Forgets
You can do all of that perfectly and still lose the call in the last ten feet. Wi-Fi has its own priority scheme (WMM access categories, keyed off an 802.11 User Priority value), and the default translation from DSCP isn’t what you’d expect. RFC 8325, written by two Cisco engineers and Fred Baker, points out that EF traffic maps by default to UP 5, which drops it into the Video access category instead of Voice. The RFC recommends a non-default mapping that puts EF at UP 6, so voice lands in AC_VO where it belongs.
Most enterprise wireless platforms let you set the DSCP-to-UP map, and plenty of them already follow RFC 8325 if you pick the right profile. Don’t take my word for it (or the vendor’s). Pull up the QoS settings on your WLAN and check what EF actually turns into on the air.
The Internet Doesn’t Owe You Anything
Here’s the part that disappoints people. DSCP is a promise you make to yourself inside networks you control. Once a packet heads out across the public internet, assume nobody downstream is honoring your EF; some providers rewrite it, and most simply ignore it. Microsoft’s Teams guidance says it plainly: QoS works as expected only when it’s implemented on all links between callers, and for a remote user you can only prioritize within your own managed network. The same document recommends against running real-time traffic over a VPN, since the tunnel adds overhead and delay.
So what’s left? The hops you own. Shape and queue at your own egress so the funnel sits in your router, pay for managed QoS on private WAN links where it really matters, and keep media paths short. You can’t fix the internet, but you can stop adding your own congestion to it.
Inbound is the other half, and it’s the half people forget. Your router can only queue what it sends. Traffic coming down from the provider was already queued (or dropped) on their side before you ever saw it. On an MPLS or managed circuit, that means asking the carrier to apply a matching policy toward you. On plain internet, it mostly means making sure your own downstream links aren’t the bottleneck.
Prove It With a Capture
I’m an evidence guy. As always, don’t believe me; believe the packets. Microsoft’s own validation step is to confirm that the DSCP value is present at both ends of a call and wasn’t changed or stripped along the way, ideally by capturing at the network egress with a port mirror.
Two checks get you most of the way there. First, look at the markings on the wire. If you’ve captured outbound Teams audio at the WAN edge, this counts packets by DSCP value for the audio source port range:
tshark -r wan-egress.pcap \
-Y "udp.srcport >= 50000 && udp.srcport <= 50019" \
-T fields -e ip.dsfield.dscp | sort | uniq -c
Every line should say 46. If you see 0, either the client never marked it or something between the client and your capture point bleached it, and now you know where to start looking.
Second, read the policy counters while the link is busy, with show policy-map interface GigabitEthernet0/0/1 output. Drops in class-default during the backup window are QoS doing its job. Drops in the VOICE class mean your priority queue is too small, or something that isn’t voice is wearing an EF badge. If you need that answer from fifty sites, don’t log into fifty routers; that’s a perfect first job for the Python tooling in my Netmiko vs NAPALM vs Nornir post.
The Mistakes That Keep Showing Up
[Marking with no queuing] Phones mark EF, the switches pass it along, and the WAN router has no output policy at all. Everything looks configured, yet nothing is protected.
[Trusting the whole access layer] This one is especially common after a Catalyst 9000 refresh, where trust is the default. If a PC can mark EF and get priority, sooner or later something will.
[A priority queue the size of Texas] Throwing video, signaling and every “important” app into LLQ turns it back into one big FIFO queue. Save it for traffic that truly can’t wait, and keep it policed.
[No shaper on a sub-rate circuit] The 1 Gbps port on a 200 Mbps circuit again. Your queues never fill, so the provider’s do.
[Signaling marked two different ways] CS3 at one site, CS5 at another, and a class-map that only matches one of them. Calls set up slowly or fail under load, and nobody thinks to blame QoS because “QoS is only for voice.”
Start at the Busiest Edge
If you only do one thing this week, pick the WAN edge with the most phones behind it. Pull its output policy, then look at the counters during your busiest hour. After that, grab a two-minute capture and see what the DSCP values actually say. Slow is smooth, smooth is fast; one honest look at one interface will teach you more about your own VoIP QoS than any diagram ever will, mine included.
Sources
- RFC 3246: An Expedited Forwarding PHB
- RFC 4594: Configuration Guidelines for DiffServ Service Classes
- RFC 8325: Mapping Diffserv to IEEE 802.11
- ITU-T Recommendation G.114: One-way transmission time
- Cisco: Modify Bandwidth Consumption Calculation for Voice Calls (Doc 7934)
- Cisco: Ascertain Bandwidth and Priority Commands of a QoS Service Policy (Doc 10100)
- Cisco Catalyst 9000 Switching Platforms: QoS and Queuing White Paper
- Cisco: Configure AutoQoS on Catalyst 9000 Switches
- Cisco Borderless Campus 1.0 Design Guide: Deploying QoS
- Cisco Press: Per-Hop Behavior Queue Design Principles
- Microsoft Learn: Implement Quality of Service in Microsoft Teams

No responses yet