

A plus symbol (+) shows the configuration line exists in file2 but not in file1.#show archive config differences system: running-config nvram: startup-config Another method is compare config by using following command on Cisco devices – A good practice is execute “terminal length 0” command before “show running-config” command which will result in execution of former command in one go without using space bar. The easier way to export a configuration file in text format is to execute the command “show run” or “show startup“, press the “space bar” key several times until the end of the configuration and then copy and paste the lines from the Terminal screen to a text editor. In order to compare 2 or more configurations from same device, we export Cisco configuration files in a text format and then use a tool to perform line by line comparison.


For this reason it would be useful to present some methods that allow us to perform this comparison task with full automation. Network administrators and implementers working on routers and Switches on daily basis are at times faced with challenge of comparing configuration files of Cisco routers or switches to find out the difference in pre-checks and post checks.
