When managing Cisco IOS network devices, administrators do come across occasions when they forget what recently they configured and then starts the tedious activity of comparing “show startup-config” and “show running-config”. The comparison activity in not only tiring, also may take long time to resolve. Let’s say a situation where only 1 hour of downtime is given by Business to perform a small change on Cisco device and atleast 30 minutes of critical time is utilized by administrator in comparing and finding what the changes were performed. Alas … indeed a nightmare.
So here is command which can address the comparison vows –
Below is example where the command is given and out is as below –
Note – In the above output, “+” sign refers to configuration present in “startup-config” while “–“sign is for configuration part of “running configuration”. And Of course when we do a “write memory” after this and issue the command, no difference will be seen.