Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Verification · QoS

Direct answer

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.

When to use this

Use it after applying a QoS policy, and when users report poor voice or video quality despite QoS being configured.

First 30 seconds

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.

Operational verification

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

Evidence · next step

Correlate class-map matches with interface congestion/queue/drop counters.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commandshow policy-map interface <interface>
Scope / prerequisiteUse it after applying a QoS policy, and when users report poor voice or video quality despite QoS being configured.
Show · 4Reference · 1
What next?3 suggested next steps
Catalog command links5
Evidence1
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

show policy-map interface <interface>Reference
Inspect applied QoS service policy

Read-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 plane
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

7 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

other · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • 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

CounterMeaning
Packets per classClassification works (traffic reaches the expected class)
Offered rateLoad per class
Drop rate / total dropsCongestion and which class pays for it
Priority exceed dropsVoice exceeding its policed priority rate
Queue depthCurrent backlog
Match linesWhich criteria are used

Verification workflow

StepCheck
1Marking at the source: capture or show policy-map interface input counters
2Marking preserved along the path (no re-marking to 0)
3Classes matching at the bottleneck
4Drops in the right classes during congestion
5Application 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

FindingCause
All traffic in class-defaultMarkings lost or not trusted upstream
Drops in the priority classToo much real-time traffic for its allocation
No drops anywhere, users complainCongestion elsewhere (provider, Wi-Fi) or a missing shaper

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

ObservationMeaning
Everything in class-defaultClass map does not match
Drops in the priority classPriority queue too small or policed
Correct marking lost downstreamA device is not trusting or is rewriting DSCP
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2475

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%
Embedded reference data

Quick lookup tables

Verification · technical reference

Compact mechanics, configuration and evidence boundaries for fast lookup.

EvidenceWhat it proves
Policy attachedPolicy is active at point/direction
Class countersTraffic matched classification
Queue/drop statsScheduler/congestion behavior
Police/shape statsRate-control behavior
Confirmation

Confirm action

Continue?