Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
CiscoShellScript | 2011-11-19 | ||
README.txt | 2011-11-19 | 1.5 kB | |
mthreadpyscriptmod.py | 2011-11-19 | 5.2 kB | |
thediffer.py | 2011-11-19 | 3.9 kB | |
mthreadpyscriptmod.exe | 2011-11-19 | 5.7 MB | |
Totals: 5 Items | 5.7 MB | 0 |
README ******************************************************************************************************************************** mythreadpyscriptmod.py (Main script) The script has basic modes: Configure: Run the commands in the command array sequentially Download: Download the running configuration By default the command will run in download mode: Creates a folder in the present working directory named Backup + Timestamp. Saves config files in this directory. Config files are named "hostname@terminalserverip.telnetport" In configure mode: Runs commands in the command array and writes all the commands written to the VTY and saves it in a folder named Config + Timestamp. Outputs are named "hostname@terminalserverip.telnetport" **************************************************************** **************************************************************** thediffer.py(Differ) The script has two modes: Interactive: Run the script without any parameters, it will lookup files starrting with Backup and list them. Pick 2 it will diff the configs inside the folders and return the differences. This is useful for simple config change tracking. Automatic: Run the script with any parameter (doesn't matter), it will run through, format the output and e-mail the specified address from routerdiff@gmail.com Caveat: The files must match exactly in the files being diffed. The next release will "fix" this behavior