All scripts
isp
Advanced
3–7 min
T-ISP-020 · Customer QoS Policy Enforcer
Apply and verify per-customer hierarchical QoS on PE access interfaces: parent shaper to CIR, child classes (EF/AF/BE) with DSCP marking, and post-apply policy-map counter verification.
Cisco IOS-XR
Cisco IOS/XE
Juniper Junos
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in →
Capabilities
- Parent shaper to CIR
- EF/AF/BE child classes
- DSCP marking
- Counter verification
- Per-interface binding
- Rollback block
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Customer CIR (Mbps) cir_mbps | number | 100 | — |
EF priority (%) ef_pct | number | 20 | — |
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
2026-06-15 13:00:00 INFO Customer ACME: CIR 100Mbps, EF 20% on pe-rtr-01 Gi0/2 2026-06-15 13:00:01 INFO Rendered service-policy CUST_ACME_OUT (3 classes) 2026-06-15 13:00:01 INFO Use --apply to commit and verify counters