PurposeCommand or Action
Example:
switch# copy running-config
bootflash:sw1-run-config.bak
Copies the startup-configuration file to internal memory.
copy startup-config [filesystem:][directory/] |
[directory/]filename
Step 2
The filesystem, directory, and filename arguments are case
sensitive.
Example:
switch# copy startup-config
bootflash:sw1-start-config.bak
Related Topics
Copying Files, on page 111
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.
Each time that you enter a copy running-config startup-config command, 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.
Note
SUMMARY STEPS
1.
write erase
2.
reload
3.
copy configuration_file running-configuration
4.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Clears the current configuration of the switch.write erase
Example:
switch# write erase
Step 1
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
132 OL-30890-01
Working with Configuration Files
Rolling Back to a Previous Configuration