We help IT Professionals succeed at work.

Backup Cisco config 9300 to USB

jaya31
jaya31 asked
on
Medium Priority
28 Views
Last Modified: 2020-03-05
Hi,

Were updating the firmware on 9300 SW and wanted to know the steps to back-up the config file in case something goes wrong. There is a USB on the switch which we want to send the backup.

Cisco TAC is slow to respond the gave me the command below, however, it's not working, doing some looking around and see some using the copy NVRAM, but want to ensure that is the right file to copy to restore in the event of failure. Also is there another file or method, best practice before upgrading the firmware.

1. copy flash:running-config usbflash0: - Not Working

2. copy flash:nvram_config usbflah0: - working
Comment
Watch Question

Author

Commented:
Also just tried the commands below and they both work without switching to the flash dir, however, the file size is much smaller than the nvram_config file.

copy:running-config usbflash0:
copy:startup-config usbflash0:
CERTIFIED EXPERT
Distinguished Expert 2018
Commented:
1. copy flash:running-config usbflash0: - Not Working
Running configuration is located in RAM not on flash that's why this command can't work (except in the case that there is file named running-config on flash, but it may not be actual running config) :)

I have no 9k series Catalyst around, but I guess this should work

copy running configuration to USB:
copy run usbflash0:<file_name>

copy running configuration to flash:
copy run flash:<file_name>
Pete LongTechnical Consultant
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
^^^ Spot on

:)

Author

Commented:
Thanks All.

Used the the commands but the direction pointed me in the right direction.

copy:running-config usbflash0:
copy:startup-config usbflash0:

Explore More ContentExplore courses, solutions, and other research materials related to this topic.