All scripts
analysis
Advanced
2–5 min
QoS Policy Verifier
End-to-end QoS policy audit: DSCP marking consistency, queue depth and drop monitoring, policer/shaper rate verification, class-map match accuracy, and real-time queue utilisation alerting.
Cisco IOS/XE/XR
Juniper
Arista
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in →
Capabilities
- DSCP marking end-to-end
- Queue depth & drop rates
- Policer rate verify
- Class-map match audit
- Shaper burst check
- Per-class bytes/drop stats
- Policy hierarchy verify
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Expected DSCP map (JSON) expected_dscp | string | {"voice":46,"video":34} | — |
Queue drop alert (%) drop_threshold | number | 5 | — |
Verify policy hierarchy check_hierarchy | bool | true | — |
Sample inventory schema
Authoritative shape of the device/policy data this script consumes.
No bundled inventory sample. The script accepts standard device lists (CSV/YAML) with hostname, mgmt IP, vendor, and credentials.
Expected output
Reference terminal output the script should produce — used as a stylistic and structural target.
terminal
QoS POLICY AUDIT — 8 interfaces across 4 devices
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DSCP MARKING VERIFICATION:
Voice traffic (expected DSCP 46/EF):
core-rtr-01 Gi0/0/0 ingress: DSCP 46 ✓
core-rtr-01 Gi0/0/0 egress: DSCP 46 ✓
pe-rtr-01 Te0/0/0 ingress: DSCP 46 ✓
pe-rtr-01 Te0/0/0 egress: DSCP 0 ← REMARKED! Policy mismatch