All scripts
isp
Expert
3–8 min
T-ISP-009 · LDP/RSVP Label Allocation Auditor
Audit MPLS label allocation across the backbone: LDP/RSVP label bindings, label-range exhaustion, orphaned bindings, and FEC-to-label consistency between LSRs.
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
- LDP + RSVP binding inventory
- Label-range exhaustion check
- Orphaned binding detection
- FEC↔label consistency diff
- Per-LSR utilization report
- JSON export
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Range warn (%) range_warn_pct | number | 80 | — |
Protocol (ldp|rsvp|both) protocol | string | both | — |
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 09:02:11 INFO Collected 8421 label bindings from 12 LSRs 2026-06-15 09:02:12 WARN P-rtr-03: LDP label range 86% used (>80%) 2026-06-15 09:02:12 WARN P-rtr-05: 3 orphaned bindings (no matching FEC) 2026-06-15 09:02:12 INFO Report written to label-audit.json