
Network Config Validation
This does pre-deployment validation on router and switch configs with pattern matching for dangerous commands (reload, erase, crypto key zeroize), duplicate IPs, overlapping subnets, and stale references to ACLs or route-maps. The hygiene checks flag things like Telnet on VTY lines, default SNMP communities, and missing NTP or logging config. It's designed for Cisco IOS style syntax and works best as a lightweight gate before change windows or automation runs, not as a full parser. The block iteration logic for VTY sections is worth stealing if you're building your own tooling. Treat the output as evidence that still needs a network engineer's review, especially for management plane changes where a misconfigured access-class can lock you out.
- skills.sh installs
- 5.4K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --skill network-config-validation --agent claude-codeInstalls into .claude/skills of the current project.
Files
Network Config Validation
Use this skill to review network configuration before a change window or before an automation run touches production devices.
When to Use
- Reviewing Cisco IOS or IOS-XE style snippets before deployment.
- Auditing generated config from scripts or templates.
- Looking for dangerous commands, duplicate IP addresses, or subnet overlaps.
- Checking whether ACLs, route-maps, prefix-lists, or line policies are referenced but not defined.
- Building lightweight pre-flight scripts for network automation.
How It Works
Treat config validation as layered evidence, not as a complete parser. Regex checks are useful for pre-flight warnings, but final approval still needs a network engineer to review intent, platform syntax, and rollback steps.
Validate in this order:
- Destructive commands.
- Credential and management-plane exposure.
- Duplicate addresses and overlapping subnets.
- Stale references to ACLs, route-maps, prefix-lists, and interfaces.
- Operational hygiene such as NTP, timestamps, remote logging, and banners.
Dangerous Command Detection
import re
Sponsors
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Security, Code Review & Quality, Mobile Development
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Dmux Workflows5.4K
- Quarkus Patterns5.4K
- Ecc Tools Cost Audit5.4K
- Foundation Models On Device5.4K
- Network Interface Health5.4K
- Netmiko Ssh Automation5.4K
- Swift Concurrency 6 25.4K
- Opensource Pipeline5.4K
- Plankton Code Quality5.4K
- Defi Amm Security5.4K
- Gan Style Harness5.4K
- Homelab Pihole Dns5.4K
- Returns Reverse Logistics5.4K
- Benchmark Optimization Loop5.4K
- Customer Billing Ops5.4K
- Openclaw Persona Forge5.4K
- Google Workspace Ops5.4K
- Hookify Rules5.4K
- Connections Optimizer5.4K
- Swift Protocol Di Testing5.4K
- Energy Procurement5.4K
- Swift Actor Persistence5.4K
- Quarkus Security5.4K
- Social Graph Ranker5.4K