A professional web-based tool for network engineers and administrators to rapidly generate configuration files for Cisco and HPE/Aruba devices.
Bridge the gap between planning and deployment with a simple, validated interface.
- Cisco IOS-XE - Optimized for Catalyst switching platforms.
- Cisco NX-OS - Tailored for Nexus data center switching.
- HPE/Aruba Comware - Support for legacy HPE and Comware-based switches.
- Aruba AOS-CX - Modern syntax support including advanced L2/L3 port logic.
- VLAN Management: Add, edit, and delete VLANs with optional SVI (IP) configuration.
- Interface Flexibility:
- Access & Trunk Modes: Standard switching port configurations.
- Port Ranges: Bulk configure interfaces using standard notation (e.g.,
1/1-48). - L3 Routing: Toggle AOS-CX ports between
routingandno routingmodes.
- Voice VLANs: Automated platform-specific syntax (e.g.,
switchport voice vlanvs hybrid port modes). - Global Services: One-click configuration for:
- NTP Servers for time synchronization.
- Syslog Hosts for centralized logging.
- DNS Servers for name resolution.
- SNMP Communities for monitoring.
- Clone the repository:
git clone https://github.com/solopx/netconfgen.git
- Browse to the directory:
cd netconfgen - Install dependencies:
pip install -r requirements.txt
- Set your session secret:
for linux/bash: export SESSION_SECRET="your-secure-key" for windows/cmd: set SESSION_SECRET="your-secure-key"
- Run the main python app:
python main.py
- Open your web browser and navigate to
http://localhost:5000
- Initialize Global Configuration: Set your device hostname and management servers.
- Define VLANs: Create your Layer 2 broadcast domains and Layer 3 interfaces.
- Map Interfaces: Assign ports to VLANs or configure high-bandwidth trunks.
- Generate & Export: Select your target platform and download the CLI-ready configuration.
-
Safety First: Always review and validate generated configurations in a lab environment before deploying to production.
-
IP Validation: Built-in validation ensures IP addresses and netmasks follow standard networking protocols.
-
In-Memory Storage: For security and simplicity, this version stores data in volatile memory. Configurations are cleared when the server restarts.
This project is licensed under the MIT License - feel free to modify and use it for your needs.


