All scripts
fault
Expert
~3 min

ECMP Load Balancer Verifier

Verify ECMP load distribution across equal-cost paths: hash algorithm audit, per-path traffic entropy measurement, CEF adjacency consistency, unequal load detection, and polarisation diagnosis.

cisco-ios
cisco-nxos
arista
juniper
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

  • ECMP
  • CEF
  • Hash
  • Load balancing
  • Traffic engineering
  • CEF hash algorithm audit

Required inputs

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

ParameterTypeDefaultNotes
Min ECMP Paths
min_paths
number2โ€”
Imbalance Threshold %
imbalance_pct
number15โ€”

Hint 1 โ€” Name your vendors and OS versions

Mention the exact platforms you run (cisco-ios, cisco-nxos, arista, โ€ฆ) so the generated fault logic uses the right CLI/NETCONF syntax.

Hint 2 โ€” State your real thresholds

Provide concrete values for Min ECMP Paths, Imbalance Threshold % instead of the defaults โ€” they shape what counts as a fault.

Hint 3 โ€” Prioritize the checks you need

This tool can eCMP and cEF. Ask for the subset relevant to your incident to keep output focused.

Hint 4 โ€” Describe 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
[INFO] Verifying ECMP on 8 devices
[OK]   spine-01: 4-way ECMP, hash distribution within 8%
[CRIT] leaf-03: 2 of 4 next-hops missing in CEF โ€” silent blackhole
[WARN] leaf-07: load imbalance 28% (threshold 15%)
[INFO] Hash algorithm: SIP+DIP+L4 ports (consistent)