cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12074
Views
10
Helpful
22
Replies
gnijs
Enthusiast

Any idea on how to recover a Catalyst9300 from ROMMON

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

 

22 REPLIES 22

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.

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

Aymen AL-Ramadan
Beginner

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