All scripts
isp
Expert
3–10 min
T-ISP-001 · eBGP Peering Session Provisioner
Automate provisioning of new eBGP peering sessions with an IXP or transit/customer neighbor: validates inputs, renders vendor config, applies prefix-limits, MD5/TCP-AO auth, and verifies the session reaches Established.
Cisco IOS-XR
Cisco IOS/XE
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
- Pydantic-validated peer intent
- Vendor-aware config rendering
- Inbound/outbound prefix-limits
- MD5 / TCP-AO authentication
- Max-prefix + dampening guards
- Post-change Established check
- Idempotent dry-run mode
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Peer ASN peer_asn | number | 64500 | — |
Max inbound prefixes max_prefix | number | 1000 | — |
Enable MD5 auth use_md5 | bool | true | — |
Dry-run (no push) dry_run | 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 09:12:03 INFO Provisioning eBGP peer 198.51.100.7 (AS64500) on edge-rtr-01 2026-06-15 09:12:03 INFO Rendering Cisco IOS-XR neighbor config... 2026-06-15 09:12:04 INFO [dry-run] would apply 14 lines 2026-06-15 09:12:09 INFO Session state: Established | pfx-rcvd: 412 | limit: 1000 2026-06-15 09:12:09 INFO ✓ Peer 198.51.100.7 provisioned and verified