09-12-2022 08:28 AM
I mistakenly did the factory reset-all on my Cisco 9200 switch and now the switch is only showing the switch: prompt at start-up. How do I get the switch back to where it belongs with no config and booting from the packages.conf?
09-12-2022 08:41 AM
Hi there,
Does
boot flash:packages.conf
...work?
cheers,
Seb.
09-12-2022 10:30 AM
No. Looks like the factory-reset all completely wipes out entire switch including NVRAM and flash:
09-12-2022 04:26 PM
The command "factory-reset all" will completely wipe the Flash and some portions of the NVRAM.
The only way to put the firmware back into the switch is to use a USB thumb drive and the command "emergency-install usbflash0:firmware_filename.bin".
07-28-2023 11:47 AM
Emergency-install returns a command not found
07-28-2023 05:21 PM - edited 07-28-2023 05:21 PM
Is the switch in ROMMON?
If it is in ROMMON, post the complete output to the command "?".
12-31-2023 11:23 PM
Hi,
i have same issue as i enter factory reset-all and its showing below prompt only. even if i reboot also showing like this prompt only
Initializing Hardware...
System Bootstrap, Version 17.9.1r [FC13], RELEASE SOFTWARE (P)
Compiled Thu 06/08/2023 20:36:25 by rel
Current ROMMON image : Primary
C9200L-24P-4X platform with 2097152 Kbytes of main memory
WARNING: Bootable URL's in BOOT variable not found or exhausted.
Please check the ROMMON configuration or boot command usage.
switch:
switch: ?
kindly advice
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
arp Dump or Clear ARP Table
boot Load and boot an executable image
cat Display text content from a file
copy Copy a file
dir List filesystems or a directory on a filesystem path
help List command information
history Show command history
idprom Show idprom data
ping Ping use ICMP protocol to get an ICMP ECHO_RESPONSE from host
ping6 Ping use ICMP protocol to get an ICMP ECHO_RESPONSE from host
reset Reset entire system
set Set an environment variable value
unset Unsets an environment variable
version Show sboot version and runtime info
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch:
01-01-2024 02:05 AM
Boot the firmware using USB: boot usbflash:filename.bin
Once the switch has boot into IOS, copy the firmware into the flash and unpack using Install Mode.
01-01-2024 03:18 AM
factory reset-all - This command remove all config and IOS image.
Download image from Cisco or from Local Drive and copy to USB stick
switch: dir usbflash0: ( check the image available on USB)
boot usbflash0:IOS.bin (IOS.bin the file you see on USB)
Install the image using install command.
05-19-2024 02:48 AM - edited 05-20-2024 03:16 AM
Well ROMMON mode (SWITCH:) commonly comes after power failure or sudden shutdown or software upgrade, try this
switch: flash_init
switch: load_helper
switch: Dir Flash:
switch: rename flash:config.text flash:config.old
switch: boot
-------------------------------------------------------------------------------------------------
if switch didn't boot properly, then you need to reset the switch but you will loose all the DATA, to proceed follow below
Step 1.
Connect up your console cable and power on the switch, whilst holding down the “mode” button:
Initialize the flash file system with the command: flash_init
Step 3.
Delete the config.text file from the flash directory:
switch: del flash:config.text
Are you sure you want to delete "flash:config.text" (y/n)?y
File "flash:config.text" deleted
Delete the vlan.dat file from the flash directory:
switch: del flash:vlan.dat
Are you sure you want to delete "vlan.dat" (y/n)?y
File "flash:vlan.dat" deleted
Reboot the switch and you’re done:
switch: boot
-------------------------------------------------
if still you are facing issue, then your FLASH file might be corrupted, you need to download a new flash file from your Cisco account and transfer to the switch via TFTP server, always use Tera Term tool to console switch you will get more options like XMODEM, YMODEM etc for transfer files
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide