Pcornel
Networking · IP Services › QoS

Verification

Cheat sheet · https://pcornel.dk/topic.php?topic=671

Back to the Topic

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.

Remember

  • 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.

First 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).

Commands

show class-map
Display configured class maps.
show policy-map
Display configured policy maps.
show policy-map interface
Display per-class QoS counters on interfaces.
show policy-map interface <interface>
Read-only Networking observation for Inspect applied QoS service policy. Focus: class matches, offered/drop rates, mark…
show running-config | section policy-map
Read-only Networking observation for Inspect QoS policy configuration. Focus: policy-map/class-map action definitions a…
show policy-map <name> class <class>
show policy-map interface <if>

Verify in this order

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

Where it usually breaks

packet selector → class match → marking → policy attachment → queue/policer/shaper → egress counters/drops → receiver behavior

Verification · technical reference

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=671

Confirmation

Confirm action

Continue?