All scripts
isp
Advanced
2–6 min
T-ISP-002 · BGP Community Policy Enforcer
Audit and enforce a canonical BGP community policy (RFC 8642-style action communities, no-export/no-advertise hygiene, and customer signalling) against live route-policy configuration.
Cisco IOS-XR
Juniper Junos
Arista EOS
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in →
Capabilities
- Canonical community catalog
- Drift detection vs intent
- No-export hygiene checks
- Customer signalling validation
- Auto-remediation snippets
- JSON + human report
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Policy YAML path policy_file | string | communities.yaml | — |
Emit fix config remediate | 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
2026-06-15 10:01:11 INFO Loaded 18 canonical communities 2026-06-15 10:01:12 WARN edge-rtr-02: missing 65010:666 (blackhole) tag mapping 2026-06-15 10:01:12 WARN edge-rtr-02: customer prefix not tagged 65010:1001 2026-06-15 10:01:12 INFO 2 violations · remediation written to fix-edge-rtr-02.txt