All scripts
fault
Advanced
30s–2 min
BFD Session Monitor
BFD health monitoring across all protocol associations: session state matrix, discriminator mapping, timer parameter consistency, micro-BFD on LAG members, and rapid-failure root cause correlation.
Cisco IOS/XE/XR
Juniper
Arista
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in →
Capabilities
- Session state matrix
- BFD ↔ BGP/OSPF/IS-IS mapping
- Timer consistency check
- Micro-BFD on LAG
- Packet loss rate per session
- Discriminator mismatch
- Flap history & MTBF
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Expected min-interval (ms) min_interval | number | 300 | — |
Expected multiplier multiplier | number | 3 | — |
Check micro-BFD on LAGs check_micro | 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
BFD SESSION MONITOR — 12 devices
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SESSION STATE MATRIX:
core-rtr-01: 4/4 sessions UP ✓
10.0.0.2 BGP 300ms×3 state=Up flaps=0 ✓
10.1.0.2 OSPF 300ms×3 state=Up flaps=0 ✓
10.2.0.2 IS-IS 300ms×3 state=Up flaps=0 ✓
10.3.0.2 STATIC 300ms×3 state=Down flaps=7 ← HIGH