Use Queuing when an egress link is congested and some traffic must go first or keep a guaranteed share: LLQ for voice, CBWFQ for data classes.
Queuing
Queuing holds packets when an interface is congested and schedules which class is sent next; on IOS this is typically LLQ (strict priority) plus CBWFQ (guaranteed bandwidth per class).
1. Queuing buffers packets when the interface is busy.
2. Priority queue for voice/video.
3. Bandwidth guarantees for others.
4. Queue limits affect latency and drops.
5. Only active on congestion.
egress congestion → queue per class → scheduler
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Layered verification and original-test closure Verify boundary
Queuing — Correlate one traffic interval with class packet counters, queue drops and interface utilization, then verify the workload after changing only the identified classification/scheduler constraint.
Step 2 Verification & troubleshooting Narrow the fault
| Symptom | Command | Look for | Next check |
|---|---|---|---|
| Voice quality poor under load | show policy-map interface Gi0/0/1 output | Drops in the priority class | Priority rate too small, or voice exceeds the LLQ policer |
| Critical data slow | same | Queue depth and drops per class | Bandwidth share vs offered load; is traffic in the right class? |
| Drops but no class drops | show interfaces Gi0/0/1 | Output drops on the interface | Congestion elsewhere, or the policy is not attached outbound |
Step 3 Observation → implication → next check Narrow the fault
Queuing — If a class drops, confirm packets classify into the intended queue, then compare queue depth/drop rate and scheduler bandwidth. If all queues are empty while loss persists, move away from queuing to another boundary.
Step 4 Common mistakes Narrow the fault
- Too many queues for the traffic mix.
- Queuing applied inbound (it works outbound).
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Queuing decides how packets wait and are sent when an interface is congested.
- LLQ gives voice a strict-priority queue; CBWFQ shares bandwidth between classes.
- Queuing only matters when there is congestion.
show policy-map interface <interface>— queue drops, depthshow interfaces <interface>— output drops
ReferenceWhat it is1 section · depth on demand
What it is
Queuing decides the order and share of the egress link when packets arrive faster than the interface can send them. In an MQC policy each class gets a queue:
- LLQ (
priority) — strict priority for voice, with a built-in policer so it cannot starve other classes. - CBWFQ (
bandwidth/bandwidth remaining percent) — a guaranteed minimum share for each data class. - class-default — whatever remains, optionally with
fair-queue.
Queuing only matters under congestion. On an uncongested link every packet is sent immediately, whatever the policy says.
ReferenceWhy it matters1 section · depth on demand
When to use it
Apply output queuing where congestion is possible: WAN links, oversubscribed uplinks and sub-rate circuits. On a sub-rate circuit, put the queuing policy under a shaper so the congestion point is inside the device.
ReferenceHow it works1 section · depth on demand
Operational mechanics and ownership
Queuing — Queuing buffers packets during egress contention and separates classes so the scheduler can choose service order/rate. Queue occupancy and drops are symptoms of offered load versus service rate. The egress ASIC/queue owns buffering; classification decides which queue receives a packet and the scheduler drains it. A queue drop does not by itself identify the upstream cause of congestion.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Egress queues on Catalyst 9300
The Catalyst 9300 QoS guide describes eight egress queues per port, with up to two strict-priority queues: the 2P6Q model. Queuing is configured in an output policy map with priority level, bandwidth and buffer settings.
C9300(config)# policy-map PM-UPLINK-OUT
C9300(config-pmap)# class CM-VOICE
C9300(config-pmap-c)# priority level 1
C9300(config-pmap-c)# police rate percent 10
C9300(config-pmap)# class CM-VIDEO
C9300(config-pmap-c)# priority level 2
C9300(config-pmap-c)# police rate percent 20
C9300(config-pmap)# class CM-SIGNAL
C9300(config-pmap-c)# bandwidth remaining percent 10
C9300(config-pmap)# class CM-BULK
C9300(config-pmap-c)# bandwidth remaining percent 20
C9300(config-pmap)# class class-default
C9300(config-pmap-c)# bandwidth remaining percent 70
C9300(config)# interface TenGigabitEthernet1/1/1
C9300(config-if)# service-policy output PM-UPLINK-OUT
C9300# show platform hardware fed switch active qos queue stats interface Te1/1/1
Queue types
| Type | Behaviour | Typical class |
|---|---|---|
| Priority level 1 | Served first, always | Voice |
| Priority level 2 | Served after level 1 | Interactive video |
| Bandwidth queues | Share the rest by bandwidth or bandwidth remaining | Data classes |
Documented points
| Point | Detail |
|---|---|
| Priority queues | Policers on them are 1R2C only |
| Buffers | Adjusted per class with queue-buffers ratio; queue-limit sets thresholds |
Priority and set | Can't be combined in the same policy |
Why police the priority queues
A strict-priority queue that isn't limited can starve every other queue. A conditional policer on each priority class caps its share.
Troubleshooting
| Symptom | Check |
|---|---|
| Drops in a data class during bursts | Queue buffer share; show platform hardware fed … qos queue stats |
| Voice drops | Priority policer too low for the call volume |
| Policy rejected | Unsupported combination (for example priority with set) |
Documented example, not captured output.
Quick reference
Queuing decides the order in which packets leave a congested interface. Each traffic class gets its own queue; a scheduler serves the queues according to priority and bandwidth guarantees.
| Mechanism | Behaviour |
|---|---|
| FIFO | One queue, no differentiation |
| LLQ (priority) | Strict priority, policed to prevent starvation |
| CBWFQ | Minimum bandwidth per class |
| Fair queuing | Shares bandwidth among flows in a class |
| WRED | Early drops in TCP classes |
Queuing only matters during congestion; on an uncongested link all packets leave immediately.
ReferenceConfiguration & state1 section · depth on demand
Configuration example (Cisco IOS XE)
policy-map WAN-OUT
class VOICE
priority percent 10
class VIDEO
bandwidth percent 25
class CRITICAL-DATA
bandwidth percent 30
class class-default
fair-queue
!
interface GigabitEthernet0/0/1
service-policy output WAN-OUT
The priority and bandwidth reservations together must fit the interface bandwidth. Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Services → QoS → Queuing. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2475.html · confidence 94%