cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
34853
Views
21
Helpful
28
Replies

Any idea on how to recover a Catalyst9300 from ROMMON

gnijs
Level 4
Level 4

It boots into ROMMON (after platform install software xxx)

i guess flash is corrupt

switch: dir flash:

Size Attributes Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4096 drw- .EXPAND_MOUNT_QgCJ
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

switch:

dir flash:.EXPAND_MOUNT_QgCJ
switch:

switch: dir sda9:

Size Attributes Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
21680202 -rw- cat9k-recovery.SSA.bin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

switch:

 

i tried

 

DEFAULT_ROUTER=10.96.56.17
IP_ADDRESS=10.96.56.19
IP_MASK=255.255.255.248

 

but ping still fails.

 

switch: ?

emergency-install Initiate Disaster Recovery

 

switch: emergency-install sda9:
WARNING: The system partition (bootflash:) will be erased during the system recovery install process.
Are you sure you want to proceed? [y] y/n [n]: y
Starting system recovery (sda9:) ...

boot: attempting to boot from [sda9:cat9k-recovery.SSA.bin]
boot: reading file cat9k-recovery.SSA.bin
###############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################


PLATFORM_TYPE C9300 speed 9600

Booting Recovery Image 16.6.3


Initiating Emergency Installation of bundle sda9:


Emergency Install failed - bundle sda9: does not exist
Will reboot now

 

28 Replies 28

I tried this and it will run or a few minutes and then stop and then the switch will reboot. Funny thing I noticed, I have tried 3 different USB drives and the process runs longer on 1 of the 3 USB flash drives , but they all do stop and the switch reboots. Prior to using them for the switch I formatted them using Fat32. I have tried using FAT and NTFS and the drive will not seen rom the switch.

Found the issue: 

 

set MANUAL_BOOT=no
set SWITCH_IGNORE_STARTUP_CFG=0

 

I added the commands above and it still does not work. I am out of ideas how to fix this. I do not understand why I cannot access flash:

 

switch: dir flash:
media drive flash: not present.

Send the complete output to the command "set". 

switch: set
AUTOREBOOT_RESTORE=0
BAUD=9600
BOARDID=24664
BSI=0
DC_COPY=yes
DEFAULT_GATEWAY=192.168.1.1
IP_ADDRESS=192.168.1.2
IP_SUBNET_MASK=255.255.255.0
LICENSE_BOOT_LEVEL=network-essentials+dna-essentials,all:C9300_24P;
MAC_ADDR=0C:D0:F8:53:C3:00
MANUAL_BOOT=no
MODEL_NUM=C9300-24T
MODEL_REVISION_NUM=A0
MOTHERBOARD_ASSEMBLY_NUM=73-18270-03
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=**********
RANDOM_NUM=577002102
RET_2_RCALTS=
RET_2_RTS=
ROMMON_AUTOBOOT_ATTEMPT=0
SWITCH_IGNORE_STARTUP_CFG=0
SWITCH_NUMBER=1
SWITCH_PRIORITY=15
SYSTEM_SERIAL_NUM=**********
TEMPLATE=access
TFTP_BLKSIZE=1024
TFTP_SERVER=192.168.1.5
TFTP_TIMEOUT=100000
VERSION_ID=V01
switch:

Contact Cisco TAC and get the switch RMA-ed.

doesnt work to

 

Reading bundle usbflash0:cat9k_iosxe.16.09.01.SPA.bin...

Validating bundle usbflash0:cat9k_iosxe.16.09.01.SPA.bin...
Installing bundle usbflash0:cat9k_iosxe.16.09.01.SPA.bin....
Package file does not have a valid SHA-1 digest
Emergency Install failed - bundle usbflash0:cat9k_iosxe.16.09.01.SPA.bin is not supported on this platform
Will reboot now

I have posted my response in your THREAD.

cant works

 

Emergency Install failed - bundle usbflash0:cat9k_iosxe.16.12.04.SPA.bin does not exist
Will reboot now

Bumped into this issue this morning after a member of a stack failed its upgrade. Realised after a while it was because the switch still had data stack cable attached to it. Once the switch was fully isolated the switch upgraded and booted after restart. One to watch out for.

thank you very much. it worked for me on C3900

this was very helpful.

emergency-install usbflash0:IOS_filename.bin 

this command solved my problem. thanks 

I was able to get the switch RMA'd. Thanks to all that replied and tried to assist me with this issue.

AminRamadan
Level 1
Level 1

I believe that you didn't use the right command, do the following:

unset set DEFAULT_ROUTER

set DEFAULT_GATEWAY 10.96.56.17

wish that will help

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card