2-842
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
show config differences
show config differencesTo compare configuration files that are stored on the system to determine differences between
configuration files or to check if changes have been made to the system configuration, use the show
config differences command.
show config differences [ignorecase] [context [val]] all file
show config differences [ignorecase] [context [val]] file [file]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you specify only one configuration filename, that configuration file is compared with the current
configuration on the switch.
Examples This example shows how to compare two configuration files:
Console> (enable) show config differences 1.cfg 2.cfg
--- bootflash:1.cfg
+++ bootflash:2.cfg
@@ -8,1 +8,1 @@
-#version 8.2(0.11-Eng)DEL
+#VERSION 8.2(0.11-eNG)del
@@ -11,1 +11,1 @@
-set config mode text auto-save interval 1
+SET CONFIG MODE TEXT AUTO-SAVE INTERVAL 1
Console> (enable)
This example shows how to ignore case sensitivity while comparing two files:
Console> (enable) show config differences ignorecase 1.cfg 2.cfg
Files bootflash:1.cfg and bootflash:2.cfg are identical
Console> (enable)
ignorecase (Optional) Ignores case sensitivity while comparing files.
context (Optional) Displays differences with context.
val (Optional) Number of lines of context.
all Compares the file to both default and nondefault configurations.
file Configuration filename.