All scripts
isp
Advanced
1–4 min
T-ISP-016 · RTBH / Scrubbing Trigger Automator
Trigger Remotely-Triggered Black Hole (destination/source RTBH) or divert traffic to a scrubbing center via BGP community injection, with TTL-based auto-withdrawal and audit logging.
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
- Destination & source RTBH
- Scrubbing-center diversion
- Community-based signalling
- TTL auto-withdrawal
- Allowlist guardrails
- Append-only audit log
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Mode (rtbh|scrub) mode | string | rtbh | — |
Auto-withdraw (min) ttl_minutes | number | 60 | — |
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 16:50:00 INFO RTBH trigger for 203.0.113.66/32 (dest) 2026-06-15 16:50:01 INFO Injected community 65010:666, next-hop 192.0.2.1 2026-06-15 16:50:01 INFO Auto-withdraw scheduled at 17:50:00 UTC 2026-06-15 16:50:01 INFO Audit appended to rtbh-audit.log