Name | Modified | Size | Downloads / Week |
---|---|---|---|
README.TXT | 2022-06-15 | 2.0 kB | |
cisco_ios_device_manager_v1.1.zip | 2022-06-15 | 8.6 kB | |
cisco_ios_device_manager_v1.0.zip | 2022-06-10 | 8.6 kB | |
Totals: 3 Items | 19.2 kB | 4 |
---------------------------------- CISCO IOS DEVICE MANAGER ---------------------------------- Written by : Bas van Hemmen E-mail : bas@virtualink.nl Version : 1.1 Date : 15 june 2022 ---------------------------------- INFORMATION This program can be used for the following: - To collecting Cisco device information like: hostname, serial, model, IOS image, version, uptime, free flash memory (to CSV) - To enable the SCP service on the device (automaticly before file transfers) - To make a backup of the running-config and startup-config with SCP (with built-in MD5 hash comparison check) no TFTP/SFTP server needed. - To save the running-config to the startup-config (write memory) - To transfer a new image to the device with SCP (with built-in MD5 hash comparison check) - To change the boot target to the new image (boot system flash:/) It has got the following features: - Error handling - information and error logging to log file (Log will be appended) - information and error logging to CSV file (Log will be overwritten each run) - Transfers retry 3 times - MD5 checks after file transfers to be sure the file is transferred without problems INSTRUCTIONS - The program needs Python 3 - The program needs the netmiko Python library (install with pip: pip install netmiko) - The config.json file contains the general configuration. Please edit this file before running. - The images.json file contains information about the available images. Please edit this file before running. - The devices.txt file contains a list of device ip's used for processing. Please edit this file before running. - The logs (txt/csv) are located in the "logs" folder - The IOS image files must be placed in the "images" folder - The configuration backups are transferred from the device to the "backups" folder Format: HOSTNAME_IP_SERIAL_CONFIG-TYPE HOW TO RUN Linux: python3 ./run.py Windows: py .\run.py