Difference between revisions of "Compare Running Config With A Previous Config"
Jump to navigation
Jump to search
(Created page with "To see what changes have been made to the running config on a Cisco device since the last save, you an do a compare with the startup config. <PRE> show archive config diffe...") |
(No difference)
|
Revision as of 10:41, 19 March 2020
To see what changes have been made to the running config on a Cisco device since the last save, you an do a compare with the startup config.
show archive config differences nvram:startup-config system:running-config
The output shows the differences in the latter file (the running-config, in this case). Any line beginning with a + is an addition. Conversely, anything beginning with a - has been removed.
Example
ROUTER#$show archive config differences nvram:startup-config system:running-config Contextual Config Diffs: +interface Vlan3 +ip address 2.2.2.2 255.255.255.0 interface Vlan2 -description WAN
To make your router feel more like a Juniper, add this to your config:
alias exec compare show archive config differences nvram:startup-config system:running-config
Then you just need to type "compare" to see what changes have been made since you last saved your config.