/switch-config-collector

Script to collect starting/running config and versions with "not sure" credentials

Primary LanguagePythonMIT LicenseMIT

Cisco Config and Version Collector

A simple script to collect starting/running config and versions, put them into the file. Store results in the file.

Files:

  • config_collector.py - main script
  • connect_to_device.py - includes functions: ping and connect SSH/Telnet to the device
  • devices.csv - list of IP addresses
  • devices-result.csv - result of running script

Technologies

  • Python3

Setup

python config_collector.py

python config_collector.py device.csv

Examples:

  • python config_collector.py devices.csv
  • python config_collector.py 10.10.10.10

Result

image-31-552x552

Contact

  • feel free to contact me!