All scripts
nac
Advanced
2–10 min

Bulk MAC Onboarder

CSV→NAC endpoint DB: OUI validation, ISE ERS bulk import, ClearPass PATCH endpoint, rate-limit handling, conflict resolution, CMDB write-back and an import summary report.

Cisco ISE
Aruba ClearPass
NetBox
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

  • OUI validation
  • ISE ERS bulk import
  • ClearPass PATCH endpoint
  • Rate-limit/backoff handling
  • Conflict resolution
  • NetBox/CMDB write-back
  • Import summary report

Required inputs

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

ParameterTypeDefaultNotes
NAC target
nac_target
stringise—
Identity group
identity_group
stringPRINTERS—
Requests/sec
rate_limit
number10—

Hint 1 — Name your vendors and OS versions

Mention the exact platforms you run (Cisco ISE, Aruba ClearPass, NetBox) so the generated nac logic uses the right CLI/NETCONF syntax.

Hint 2 — State your real thresholds

Provide concrete values for NAC target, Identity group, Requests/sec instead of the defaults — they shape what counts as a fault.

Hint 3 — Prioritize the checks you need

This tool can oUI validation and iSE ERS bulk import. 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.

macs.csv
csv
MAC addresses to onboard with description
terminal
mac,description,location
00:11:22:33:44:55,HP LaserJet,MUM-3F
aabb.ccdd.eeff,Polycom,BLR-2F

Expected output

Reference terminal output the script should produce — used as a stylistic and structural target.

terminal
[2026-06-12] INFO  Importing 512 MACs into ISE endpoint DB (group PRINTERS)...
  OUI validation: 510 valid · 2 invalid (skipped)
  Imported 498 · 12 already existed (updated) · rate-limit backoff x3
  NetBox write-back: 498 MAC objects tagged 'nac-onboarded'
Summary: 498 ok · 12 updated · 2 invalid · report → mac_onboard.html