Working with Configuration Files
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Rolling Back to a Previous Configuration
Problems, such as memory corruption, can occur that make it necessary for you to recover your
configuration from a backed up version.
This example shows how to roll back to a snapshot copy of a previously saved running configuration
Each time a copy running-config startup-config command is issued, a binary file is created and the
ASCII file is updated. A valid binary configuration file reduces the overall boot time significantly. A
binary file cannot be uploaded, but its contents can be used to overwrite the existing startup
configuration. The write erase command clears the binary file.
Restoring the Configured Redundancy Mode
If you configure the combined mode as the redundancy mode for power supplies on a Cisco MDS 9509
switch, be careful when using the write erase and reload command sequence before rolling back to a
saved configuration because this command sequence causes the switch to revert to factory defaults.
By issuing the write erase command and the reload command, you restore the switch settings to their
factory defaults. This sequence also restores the redundancy mode setting for the power supplies back
to the redundant mode (default).
Depending on the type of power supply, the input voltage, and the number of modules (line cards) in the
chassis, the redundancy mode may prevent the line cards from being powered on after a system reboot
commands that apply to the powered down line cards will not be enforced on the switch (and will not be
part of its running configuration).
If using the write erase and reload command sequence before rolling back to a saved configuration,
follow these steps:
Manually change (if originally configured) the redundant mode configuration to combined mode.
OL-16184-01, Cisco MDS SAN-OS Release 3.x
switch# copy nvram:startup-config bootflash:my-config
This example shows how to back up the startup configuration to the TFTP server (ASCII file).
switch# copy nvram:startup-config tftp://172.16.10.100/my-config
This example shows how to back up the running configuration to the bootflash: file system (ASCII
switch# copy system:running-config bootflash:my-config
switch# copy nvram:snapshot-config nvram:startup-config
You can issue a rollback command only when a snapshot is already created. Otherwise, you
will receive the
No snapshot-config found
"Power Supply Configuration Modes" section on page
Managing Configuration Files
10-10). If you use this sequence, the
Cisco MDS 9000 Family CLI Configuration Guide