All scripts
fault
Advanced
~3 min

DHCP Scope & Starvation Analyzer

DHCP pool health: scope utilisation tracking, pool exhaustion prediction via linear regression, rogue DHCP server detection, lease conflict analysis, and DHCP snooping binding verification.

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

  • DHCP
  • Scope
  • Starvation
  • Rogue
  • Lease prediction
  • Pool utilisation calc

Required inputs

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

ParameterTypeDefaultNotes
Pool Util Warning %
util_warn_pct
number75โ€”
Pool Util Critical %
util_crit_pct
number90โ€”

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 Pool Util Warning %, Pool Util Critical % instead of the defaults โ€” they shape what counts as a fault.

Hint 3 โ€” Prioritize the checks you need

This tool can dHCP and scope. 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] Scanned 14 DHCP scopes
[CRIT] VLAN 200 (10.20.0.0/24): 96% utilized โ€” starvation imminent
[WARN] VLAN 50: 78% utilized
[INFO] Detected 124 abandoned leases (3+ days no renew)
[CRIT] Duplicate offer detected: 2 servers responding on VLAN 100