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
Open in GeneratorOpen in Platform
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.

ParameterTypeDefaultNotes
Expected DSCP map (JSON)
expected_dscp
string{"voice":46,"video":34}
Queue drop alert (%)
drop_threshold
number5
Verify policy hierarchy
check_hierarchy
booltrue

Hint 1Name your vendors and OS versions

Mention the exact platforms you run (Cisco IOS/XE/XR, Juniper, Arista) so the generated analysis logic uses the right CLI/NETCONF syntax.

Hint 2State your real thresholds

Provide concrete values for Expected DSCP map (JSON), Queue drop alert (%), Verify policy hierarchy instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can dSCP marking end-to-end and queue depth & drop rates. Ask for the subset relevant to your incident to keep output focused.

Hint 4Describe your inventory format

Tell the assistant whether your device list is CSV, YAML, or JSON and which columns it has, so parsing matches your data.

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