Chapter 7
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 .
Backing Up the Current Configuration
Before installing or migrating to any software configuration, back up the startup configuration.
•
•
•
•
Rolling Back to a Previous Configuration
All switch configurations reside in the internal bootflash: file system. If your internal bootflash: file
system is corrupted, you could potentially lose your configuration. Save and back up your configuration
file periodically.
•
•
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.
OL-6973-03, Cisco MDS SAN-OS Release 2.x
This example shows how to create a snapshot of the startup configuration in a predefined location
on the switch (binary file).
switch# copy nvram:startup-config nvram:snapshot-config
This example shows how to back up the startup configuration copy in the bootflash: file system
(ASCII file).
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
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
You can issue a rollback command only when a snapshot is already created. Otherwise, you
Note
will receive the
No snapshot-config found
This example shows how to roll back to a configuration copy that was previously saved in the
bootflash: file system (ASCII file).
switch# copy bootflash:my-config nvram:startup-config
Working with Configuration Files
error message.
Cisco MDS 9000 Family Configuration Guide
7-7
Need help?
Do you have a question about the DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor and is the answer not in the manual?
Questions and answers