- Extract 9 skill files from command knowledge: - mcp-tools-reference.md: Complete NetBox MCP tools reference - system-discovery.md: Bash commands for system info gathering - device-registration.md: Device registration workflow - sync-workflow.md: Machine sync process - audit-workflow.md: Data quality audit checks - ip-management.md: IP/prefix management and conflict detection - topology-generation.md: Mermaid diagram generation - change-audit.md: NetBox change audit workflow - visual-header.md: Standard visual header pattern - Slim all 11 commands to under 60 lines: - cmdb-sync.md: 348 -> 57 lines - cmdb-register.md: 334 -> 51 lines - ip-conflicts.md: 238 -> 58 lines - cmdb-audit.md: 207 -> 58 lines - cmdb-topology.md: 194 -> 54 lines - initial-setup.md: 176 -> 74 lines - change-audit.md: 175 -> 57 lines - cmdb-site.md: 68 -> 50 lines - cmdb-ip.md: 65 -> 52 lines - cmdb-device.md: 64 -> 55 lines - cmdb-search.md: 46 lines (unchanged) - Update agent to reference skills for best practices - Preserve existing netbox-patterns skill Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
description
| description |
|---|
| Detect IP address conflicts and overlapping prefixes in NetBox |
CMDB IP Conflict Detection
Scan NetBox IPAM data to identify IP address conflicts and overlapping prefixes.
Skills to Load
skills/visual-header.mdskills/ip-management.mdskills/mcp-tools-reference.md
Usage
/ip-conflicts [scope]
Scopes:
all(default) - Full scan of all IP dataaddresses- Check for duplicate IP addresses onlyprefixes- Check for overlapping prefixes onlyvrf <name>- Scan specific VRF onlyprefix <cidr>- Scan within specific prefix
Instructions
Execute skills/visual-header.md with context "IP Conflict Detection".
Execute conflict detection from skills/ip-management.md:
- Data Collection - Fetch IPs, prefixes, VRFs via MCP
- Duplicate Detection - Group by address+VRF, flag >1 record
- Overlap Detection - Compare prefixes pairwise using CIDR math
- Orphan IP Detection - Find IPs without containing prefix
- Generate Report - Use template from skill
Conflict Types
| Type | Severity |
|---|---|
| Duplicate IP (same interface type) | CRITICAL |
| Duplicate IP (different roles) | HIGH |
| Overlapping prefixes (same status) | HIGH |
| Overlapping prefixes (container ok) | LOW |
| Orphan IP | MEDIUM |
Examples
/ip-conflicts- Full scan/ip-conflicts addresses- Duplicate IPs only/ip-conflicts vrf Production- Scan specific VRF
User Request
$ARGUMENTS