Python Forum
Automate Config Changes [Security]
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automate Config Changes [Security]
#1
I'm trying to write a script that will log into each switch via SSH, run a show run, create a txt file that says "All good, no changes", and save it on a network share, or email each morning.

It would compare the configuration from the previous day's configuration.

Want to use a script to verify the configuration hasn't been changed without my knowledge.
Reply
#2
The simpler way. Calculate the sha256 for each config file and keep it somewhere close. Compare this hash sum with the one calculated from the script each day.
You may want to know what is Fabric.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
Wow, that is much simpler to run against the SHA algorithms. Thank you for the idea!
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020