To display the hash calculated for the running configuration:
switch(config)# show running-config hash
The hash must be calculated. This may take several minutes.
Continue (y/n)? y
Calculating hash...
Running configuration hash:
6d88 0880 98af e8a8 b564 15cd 368e 4269 9d61 4bfa
This hash is only valid for comparison to a baseline hash if
the configuration has not been explicitly changed (such as
with a CLI command) or implicitly changed (such as by the
removal of a hardware module).
Scenarios that block the configuration restoration process
The configuration restoration process is blocked in the following scenarios:
• If the restored configuration file requires a reboot.
• If the restored configuration changes the entire configuration (for example, module add or remove).
More information
Troubleshooting and support
Switch configuration restore without reboot feature provides CLI support to:
• display the number of commands with line number that failed to restore.
• display the delta between running configuration and the configuration to be restored.
More information
Viewing the differences between a running configuration and a backup configuration on page 572
show cfg-restore status on page 570
debug cfg-restore
Syntax
debug cfg-restore
Description
Debug logs display the commands executed by
cfg-restore
.
Command context
config
and
manager
Example
switch(config)#
debug cfg-restore
switch(config)# debug destination buffer
switch(config)# show debug buffer
Chapter 15 Configuration backup and restore without reboot
575