03-08-2020 02:25 PM
Hi there,
Is there a CLI comparison tool that i can use to compare say for instance running configs etc
I want to be able to compare the config when i first started versus the config after i have made changes so if i make any mistakes i can essentially know where to look and what to revert.
Any suggestions on comparison tools please?
:)
Solved! Go to Solution.
03-08-2020 09:08 PM
Using pyATS and Genie (a Cisco built Python Library) you can check configurations. Currently this is how I do my checks.
Attached is an example of a configuration check using the Genie function in pyATS. You'll see that I first learn the configuration and save it into a folder called "March09Change001" and then learn the configuration again and save it to "March09Change002". By using the "genie diff" command I can then instantly compare the two configurations and note any changes. The command also creates a .txt file with the differences in configuration that I can share with my Team.
If you want to know more! check out pyATS at developer.cisco.com
03-08-2020 02:38 PM
Hello,
you could use the online tool below, just copy and paste both versions in the relevant fields and click 'Compare'...
03-08-2020 07:56 PM - edited 03-08-2020 08:00 PM
Hi @TroyBolton ,
Also, you can use the command sw#show history to check the commands that you have recently used. Another option is using the logging category of the tool putty, which saves everything you did on the CLI on a .log file. Output of a .log file attached.
regards.
03-08-2020 09:08 PM
Using pyATS and Genie (a Cisco built Python Library) you can check configurations. Currently this is how I do my checks.
Attached is an example of a configuration check using the Genie function in pyATS. You'll see that I first learn the configuration and save it into a folder called "March09Change001" and then learn the configuration again and save it to "March09Change002". By using the "genie diff" command I can then instantly compare the two configurations and note any changes. The command also creates a .txt file with the differences in configuration that I can share with my Team.
If you want to know more! check out pyATS at developer.cisco.com
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide