This repository contains a collection of Python scripts designed to automate daily network operations for Cisco IOS devices. As a Network Engineer, I developed these tools to reduce manual configuration errors and improve efficiency using Netmiko and Paramiko.
| Script Name | Functionality |
|---|---|
config_backup.py |
Connects to multiple routers via SSH and saves the running-config to a local directory with a timestamp. |
vlan_deploy.py |
Automates the creation of VLANs and naming conventions across multiple Access Switches using a CSV inventory file. |
ping_sweep.py |
Checks the reachability of devices in a subnet and generates a status report (Up/Down). |
push_commands.py |
Pushes a set of configuration commands (e.g., ACLs, SNMP, NTP) to a list of devices. |
Before running these scripts, ensure you have the following installed:
- Python 3.8+
- Pip packages:
pip install netmiko paramiko pandas
- Network connectivity to the devices (SSH enabled).
βββ backups/ # Folder where configs are saved
βββ inventory/
β βββ device_list.csv # IP, Username, Password, Device Type
βββ scripts/
β βββ config_backup.py
β βββ vlan_deploy.py
β βββ ping_sweep.py
βββ README.md
βββ requirements.txt