Rolling Back To A Previous Configuration; Restoring The Configured Redundancy Mode - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 9
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
(binary file):
switch# copy nvram:snapshot-config nvram:startup-config
Note
Each time a copy running-config startup-config command is issued, a binary file is created and the
Note
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
Tip
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
(see the
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.
Step 1
OL-18084-01, Cisco MDS NX-OS Release 4.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
file):
switch# copy system:running-config bootflash:my-config
You can issue a rollback command only when a snapshot is already created. Otherwise, you will
receive the No snapshot-config found error message.
"Power Supply Configuration Modes" section on page
Managing Configuration Files
11-10). If you use this sequence, the
Cisco MDS 9000 Family CLI Configuration Guide
9-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents