All scripts
fault
Advanced
1–4 min

Interface Forensics

Real-time interface health scanner: error rate trending, CRC/input error correlation, flap detection, duplex/speed mismatch, LACP bundle integrity, and bandwidth utilisation anomalies.

Cisco IOS/XE/XR/NX-OS
Juniper
Arista
HP
Open in GeneratorOpen in Platform
You're viewing a preview

The full script, parameters, and execution console are available with a free account.

Already have access? Sign in →

Capabilities

  • CRC & input error rate/sec
  • Interface flap timeline
  • Duplex & speed mismatch
  • LACP/LAG bundle check
  • Utilisation spike detection
  • Error-to-traffic correlation
  • Auto-clear noise threshold

Required inputs

Parameters the script accepts. Defaults shown; some are vendor- or context-gated.

ParameterTypeDefaultNotes
Error rate threshold /s
err_rate_threshold
number10
Utilisation alert (%)
util_threshold
number85
Flap window (mins)
flap_window_mins
number30
Check LACP bundles
check_lacp
booltrue

Hint 1Name your vendors and OS versions

Mention the exact platforms you run (Cisco IOS/XE/XR/NX-OS, Juniper, Arista, …) so the generated fault logic uses the right CLI/NETCONF syntax.

Hint 2State your real thresholds

Provide concrete values for Error rate threshold /s, Utilisation alert (%), Flap window (mins) instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can cRC & input error rate/sec and interface flap timeline. Ask for the subset relevant to your incident to keep output focused.

Hint 4Describe your inventory format

Tell the assistant whether your device list is CSV, YAML, or JSON and which columns it has, so parsing matches your data.

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
[14:30:02] Scanning 1,847 interfaces across 47 devices...

INTERFACE ERROR REPORT — core-rtr-01
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Interface        State  CRC/s  Drop/s  Util%  Issues
Gi0/0/0          up     0      0       45.2   OK
Gi0/0/1          up     142    87      92.1   ← HIGH: CRC=142/s, util=92%
Gi0/0/2          down   -      -        0.0   ← CRITICAL: flapped 4x/30m
Te0/1/0          up     0      12      78.4   WARN: output drops=12/s
Po1 (LACP)       up     -      -       61.2   OK — 2/2 members active