Use it after applying a QoS policy, and when users report poor voice or video quality despite QoS being configured.
Verification · QoS
Verify QoS with show policy-map interface <if>: check that the policy is attached in the right direction and that class counters, queue depth and drops move as expected under load.
1. show policy-map interface <if> — policy attached in the right direction (usually output on the congested link)?
2. Voice/video class matching packets? No → marking wrong upstream or class-map wrong.
3. Drops in the priority class → priority too small or policed.
4. Drops in default only → expected under congestion.
5. Marking trusted at the edge? Check DSCP in a capture.
traffic classified at the edge → marked with DSCP → trusted along the path → queued by class on congested interfaces → priority for voice, bandwidth for business data, drops in best effort
Correlate class-map matches with interface congestion/queue/drop counters.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show policy-map interface <interface>Show Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show policy-map interface <interface>ReferenceRead-only Networking observation for Inspect applied QoS service policy. Focus: class matches, offered/drop rates, marking/policing/shaping and queue counters.
Use when: Use while isolating the canonical Topic ccna-encor-ip-services-qos-verification at the matching failure boundary.
Quick note: Illustrative samples below teach interpretation only; they are not captured production evidence.
Cisco IOS / IOS XE · data planeshow running-config | section policy-mapShowRead-only Networking observation for Inspect QoS policy configuration. Focus: policy-map/class-map action definitions and hierarchy.
Use when: Use while isolating the canonical Topic ccna-encor-ip-services-qos-verification at the matching failure boundary.
Quick note: Illustrative samples below teach interpretation only; they are not captured production evidence.
Cisco IOS / IOS XE · control planeshow class-mapShowDisplay configured class maps.
Use when: Use this command at the QoS boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A configured policy-map does not prove attachment, matching traffic, congestion or end-to-end service quality.
Cisco IOS / IOS XE · mixedshow policy-mapShowDisplay configured policy maps.
Use when: Use this command at the QoS boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A configured policy-map does not prove attachment, matching traffic, congestion or end-to-end service quality.
Cisco IOS / IOS XE · mixedshow policy-map interfaceShowDisplay per-class QoS counters on interfaces.
Use when: Use this command at the QoS boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A configured policy-map does not prove attachment, matching traffic, congestion or end-to-end service quality.
Cisco IOS / IOS XE · mixedVerification & 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 First 30 seconds Verify boundary
Immediate answer: Drive representative traffic and compare class counters, policy attachment/direction, queue/drop/police/shape state and interface load.
Verification chain: packet fields → class-map match → service-policy attachment → action counters → queue/interface congestion → downstream result
Stop condition: A class counter increment shows classification at that policy point, not end-to-end QoS outcome.
Step 2 Known-good, broken and proof-boundary verification Verify boundary
Known-good QoS requires the test flow to hit the intended class, show expected mark/police/shape behavior, and produce acceptable queue/drop/latency results at the actual congestion point. Broken state includes zero/wrong-class matches, unexpected exceed/drop actions or queue starvation. Read back applied service policy and correlate counters with a controlled traffic interval. Class counters do not show end-to-end service quality; the limit of what it shows includes downstream treatment and the original application or traffic-generator result.
Step 3 Native known-good discriminator and proof boundary — Verification Verify boundary
QoS Verification separates configured class-map/policy-map intent from the service-policy actually attached to the target interface and from live packet/counter behavior. show class-map and show policy-map confirm classification/action definitions, while show policy-map interface <interface> shows attachment plus the counters/rates/drops observed by that policy instance. Known-good means the intended class matches test traffic, counters increment in the expected class, shaping/policing/queue statistics stay within design and the original application meets its requirement. Suspicious state includes zero matches, traffic in class-default, unexpected drops or a policy defined but not attached. These commands show local QoS configuration/counters only, not end-to-end latency or remote service health; repeat the original marked flow and compare downstream behavior.
Step 4 Verification path Verify boundary
Verification is insufficient when it shows only syntax acceptance, interface up/up, neighbor Established/Full, policy presence, route presence or a single ping.
Step 5 Verification and output interpretation Verify boundary
Start by proving the service policy is attached where expected, then read per-class packet/byte counts and rates. For queueing, correlate interface utilization, queue depth and drops. For policing, compare conform/exceed/violate behavior with the configured rate. For marking, validate packet fields downstream rather than assuming a counter means the next hop trusts the marking. Capture before/after snapshots around a known traffic interval to distinguish cumulative history from current behavior.
Step 6 Verification & troubleshooting Narrow the fault
1. Define trust boundary and traffic classes.
2. Verify class-map matches.
3. Verify policy actions.
4. Confirm service-policy interface/direction.
5. Generate representative load and read offered/drop/queue counters.
Step 7 Failure isolation: observation → implication → next check Narrow the fault
If class counters stay at zero during a known flow, verify policy attachment direction and match criteria before scheduler tuning. If the correct class increments but marking/policing counters are wrong, inspect the action and platform support. If actions are correct but loss/latency rises, inspect egress queue depth, drops and interface utilization. If the device QoS state is healthy, continue to downstream devices and endpoint/application behavior. Change one policy boundary at a time and re-run the same offered load.
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.
show policy-map interface <if>shows matches, drops and queue depth per class.- Rising drops in a priority class mean it is undersized.
- Check that classes actually match traffic.
show policy-map interface <if>— per-class matches, queue depth and drops.show class-map— how classes are matched (DSCP, ACL, NBAR).show policy-map <name>— actions per class (priority, bandwidth, police, shape).show interfaces <if> | include drops|rate— total output drops and load.show mls qos interface <if>/show platform hardware fed switch active qos queue stats interface <if>— switch queues (platform-specific).
ReferenceHow it works1 section · depth on demand
Mechanics, state owner and dependency boundary
QoS verification must follow classification, policy attachment and the actual enforcement point. Class maps decide membership, policy maps define actions, and interface or hardware queues own scheduling/drop behavior. A configured policy is desired state; service-policy counters and queue statistics are effective state. Marking can be correct while downstream queuing is wrong, and a queue can drop because offered load exceeds service rate even when classification is perfect.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
Verifying QoS
Cisco's IOS XE QoS guide lists the verification commands: show class-map, show policy-map, show policy-map <name> class <class> and, most useful in operation, show policy-map interface <interface>, which shows per-class counters for the attached policy.
R1# show policy-map interface GigabitEthernet0/0/0 output
GigabitEthernet0/0/0
Service-policy output: SHAPE-100M
Class-map: class-default (match-any)
48211012 packets, 31904420112 bytes
5 minute offered rate 92114000 bps, drop rate 1204000 bps
Match: any
Queueing
queue limit 416 packets
(queue depth/total drops/no-buffer drops) 37/91233/0
shape (average) cir 100000000, bc 400000, be 400000
Service-policy : WAN-EDGE-OUT
Class-map: VOICE (match-any)
912044 packets, 182408800 bytes
5 minute offered rate 1810000 bps, drop rate 0000 bps
Match: dscp ef (46)
Priority: 20% (20000 kbps), burst bytes 500000, b/w exceed drops: 0
Class-map: class-default (match-any)
(queue depth/total drops/no-buffer drops) 37/91233/0
What to check
| Counter | Meaning |
|---|---|
| Packets per class | Classification works (traffic reaches the expected class) |
| Offered rate | Load per class |
| Drop rate / total drops | Congestion and which class pays for it |
| Priority exceed drops | Voice exceeding its policed priority rate |
| Queue depth | Current backlog |
| Match lines | Which criteria are used |
Verification workflow
| Step | Check |
|---|---|
| 1 | Marking at the source: capture or show policy-map interface input counters |
| 2 | Marking preserved along the path (no re-marking to 0) |
| 3 | Classes matching at the bottleneck |
| 4 | Drops in the right classes during congestion |
| 5 | Application experience (MOS, jitter, loss) |
R1# show class-map VOICE
Class Map match-any VOICE (id 2)
Match dscp ef (46)
R1# clear counters GigabitEthernet0/0/0
Common findings
| Finding | Cause |
|---|---|
| All traffic in class-default | Markings lost or not trusted upstream |
| Drops in the priority class | Too much real-time traffic for its allocation |
| No drops anywhere, users complain | Congestion elsewhere (provider, Wi-Fi) or a missing shaper |
Documented example, not captured output.
Method
QoS verification proves traffic is classified, marked and queued as intended.
1. show policy-map interface <if> — packets per class increase as expected.
2. Generate known test traffic (e.g. voice test call) and watch its class counters.
3. Capture packets to check DSCP values downstream of the marking point.
4. Check drops per class during congestion.
5. Confirm the policy is applied in the right direction on every hop.
State model and technical mechanics
QoS statistics are stateful observations of what traffic matched and what action the datapath took. Class counters establish classification hits, police counters separate conform/exceed behavior, shaping state shows queued/paced traffic, and queue drop/depth counters describe congestion at that scheduler. Many counters are cumulative, while rates are calculated over intervals, so two snapshots can tell a different story from a single static display. Because QoS behavior is traffic-dependent, a healthy idle interface can show almost no counters even when the policy is correct, while a busy interface can expose transient bursts that require time-window context.
Limits and common misconceptions
Zero drops do not show QoS is unnecessary; the link may simply not be congested during the sample. Nonzero drops are not automatically misconfiguration; they can be the intended consequence of policing or unavoidable queue overflow. QoS counters also do not show application experience without correlating latency, loss and the actual traffic class.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Before interpreting output, document the intended policy outcome for each class: marking, priority, minimum bandwidth, policing rate or shaping rate. This gives counters a reference target. Preserve the exact interface/direction and link speed in notes, because a percentage-based policy changes effective bandwidth when the parent interface rate changes. Avoid tuning queue or police values based on one momentary counter spike; compare against sustained traffic characteristics and the service objective.
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 → Verification. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2475.html · confidence 94%Quick lookup tables
Verification · technical reference
Compact mechanics, configuration and evidence boundaries for fast lookup.
| Evidence | What it proves |
|---|---|
| Policy attached | Policy is active at point/direction |
| Class counters | Traffic matched classification |
| Queue/drop stats | Scheduler/congestion behavior |
| Police/shape stats | Rate-control behavior |