Working with Configuration Files
SUMMARY STEPS
1. (Optional) dir {slot0: | usb1: | usb2:}[directory/]
2. copy {slot0: | usb1: | usb2:}[directory/]filename running-config
3. (Optional) show running-config
4. (Optional) copy running-config startup-config
5. (Optional) show startup-config
DETAILED STEPS
Command or Action
Step 1
dir {slot0: | usb1: | usb2:}[directory/]
Example:
switch# dir slot0:
Step 2
copy {slot0: | usb1: | usb2:}[directory/]filename
running-config
Example:
switch# copy slot0:dsn-config.cfg running-config
Step 3
show running-config
Example:
switch# show running-config
Step 4
copy running-config startup-config
Example:
switch# copy running-config startup-config
Step 5
show startup-config
Example:
switch# show startup-config
Related Topics
Copying the Startup Configuration from an External Flash Memory Device
You can recover the startup configuration on your Cisco NX-OS device by downloading a new startup
configuration file saved on an external flash memory device.
Before You Begin
Insert the external flash memory device into the active supervisor module.
OL-29291-02
Copying the Startup Configuration from an External Flash Memory Device
Purpose
(Optional)
Displays the files on the external flash memory device.
Copies the running configuration from an external flash
memory device. The filename argument is case sensitive.
(Optional)
Displays the running configuration.
(Optional)
Copies the running configuration to the startup
configuration.
(Optional)
Displays the startup configuration.
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
117