QoS for Voice over IP in the CCNA: Classification, Marking and Queuing
Voice over IP is sensitive to delay, variation (jitter) and loss. QoS classifies and marks traffic so voice gets priority in the queues. The CCNA requires knowing the tools: classification, marking, policing, shaping and queuing.

Edit this template Download .json
Learning objectives
- Configure a voice VLAN and trust the phone's marking.
- Recognize DSCP values: EF for voice and AF for critical data.
- Describe a priority queue (LLQ) versus weighted queues.
Devices and addressing
| Device | Type | Details |
|---|---|---|
| IP phone 1 | IP | Voice VLAN 50 DSCP EF |
| PC1 | PC / user | Data VLAN 10 via phone |
| SW1 | Switch | PoE access mls qos trust |
| R1 | Router | Voice LLQ WAN-OUT policy |
| WAN | WAN | 10 Mbps Limited link |
| CUCM / PBX | PBX | 10.0.50.10 Call control |
Reference configuration (Cisco IOS)
SW1
mls qos
interface f0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 50
mls qos trust device cisco-phone
mls qos trust cos
R1
class-map match-any VOZ
match dscp ef
class-map match-any CRITICO
match dscp af31
policy-map WAN-OUT
class VOZ
priority percent 30
class CRITICO
bandwidth percent 30
class class-default
fair-queue
interface g0/1
service-policy output WAN-OUT
Verification commands
show mls qos interface f0/1show policy-map interface g0/1show class-mapshow queueing
CCNA exam tips
Voice: one-way delay under 150 ms, jitter under 30 ms and loss under 1%.
DSCP EF = 46 is the standard value for voice.
How to use this template
Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.
To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.
JSON template for the editor
This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.
Frequently asked questions
What is DSCP?
A 6-bit field in the IP header that marks a packet's service class.
What is LLQ?
A low-latency priority queue for voice, combined with weighted queues for the rest of the traffic.