cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
415
Views
0
Helpful
2
Replies

Recovering C9300 from factory-reset all command mistake

FrancisJr
Level 1
Level 1

Hi there, 

I brilliantly make a mistake of applying the command factory-reset "all" in a switchC9300-24UX(for reference, it is not in production, just a lab).  ... I supposed to just use "config" syntax instead of "all"!

So it erased all the content from the NVRAM, IOS images, including the current boot image, boot variables, startup and running configuration data, and user data. Great!!!

Please, can someone please help me with the procedure of setting up this switch from rommon mode (switch:) using usbflash:? 

For reference, I have the ios image in a usb stick already. 

Thanks 

1 Accepted Solution

Accepted Solutions

Hi @FrancisJr 

 Thy to use this command:


emergency-install usbflash0:IOS_filename.bin

 

View solution in original post

2 Replies 2

Hi @FrancisJr 

 Thy to use this command:


emergency-install usbflash0:IOS_filename.bin

 

It worked!! many thanks mate

Review Cisco Networking for a $25 gift card