cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13384
Views
5
Helpful
38
Replies

Cisco 9200 will not recognize USB device bricked

B2k380
Level 1
Level 1

I recently made a big boo-boo, while attempting to upgrade iOS on Cisco 9200-24 I added the new ios on the device 2 times, when i attempted to run the device did not have enough memory to run so it errored out, I thought I would just remove the files but did it with the delete command and now when the switch boots, it boots into switch:

USB 0 and 1 are not recognized and there is no ios to load so the device is a paperweight, any idea how to get into at least rommon to load a copy of the ios, boot and repair this? Any help would be greatly appreciated.

38 Replies 38

Looks like your packages.conf messed up, and trying to boot from flash:/user/cat9k_lite-rpboot.17.03.05.SPA.pkg - that folder not exists and also cat9k_lite-rpboot.17.03.05.SPA.pkg

you only have all files: 16.11.01.SPA.pkg

Note: you have a USB issue, get new USB stick with less capacity of 16GB.

download cat9k_litexxxxxxxxxxxx.bin file from cisco site.

switch: boot usbflash0:cat9k_litexxxxxxxxxxxx.bin

switch>enable
switch#copy usbflash0:cat9k_litexxxxxxxxxxxx.bin

switch#conf t
switch(config)#boot system flash:packages.conf
switch(config)#exit
switch(config)#wr mem
switch#show boot   (verify)

#system install add file flash:cat9k_litexxxxxxxxxxxx.bin activate commit

it ask you to reload. (once switch comeback prompt) - then you can clean up old files

 

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi Balaji,

 

When trying to use those commands this is what I get...

Initializing Hardware...

System Bootstrap, Version 17.5.1r [FC4], RELEASE SOFTWARE (P)
Compiled Wed 01/06/2021 17:07:29 by rel

Current ROMMON image : Primary
C9200-24P platform with 4194304 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:
switch:
switch:
switch:
switch: boot usbflash0:cat9k_iosxe.17.03.05.SPA.bin
boot: attempting to boot from [usbflash0:cat9k_iosxe.17.03.05.SPA.bin]
boot: reading file cat9k_iosxe.17.03.05.SPA.bin
media drive "usbflash0:" not present.
boot: failed to load usbflash0:cat9k_iosxe.17.03.05.SPA.bin

ERROR: failed to boot from usbflash0:cat9k_iosxe.17.03.05.SPA.bin (Not Found)
switch:

 

Should I try to 16 files?

switch: boot usbflash0:cat9k_iosxe.17.03.05.SPA.bin  < this shows file not found on the USB ( so check files in right place, and you are able to read the file)

Are you sure you downloaded the image from Cisco ? for the correct model? 

balajibandi_0-1678012695806.png

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hey Balaji,

 

Yes this drive has been used to upgrade other 9200's without any issue, the drive seems to be ok since its been used in other 9200s, it is a 4GB drive and these are the contents

B2k380_0-1678024466492.png

 

if that is the content

why are you booting with this image :

switch: boot usbflash0:cat9k_iosxe.17.03.05.SPA.bin

you need to boot as below :

switch: boot usbflash0:cat9k_lite_iosxe.17.03.05.SPA.bin

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi Balaji,

 

Thank you for all your assistance, this is what I get when trying to boot..

 

switch: boot usbflash0:cat9k_lite_iosxe.17.03.05.SPA.bin
boot: attempting to boot from [usbflash0:cat9k_lite_iosxe.17.03.05.SPA.bin]
boot: reading file cat9k_lite_iosxe.17.03.05.SPA.bin
media drive "usbflash0:" not present.
boot: failed to load usbflash0:cat9k_lite_iosxe.17.03.05.SPA.bin

ERROR: failed to boot from usbflash0:cat9k_lite_iosxe.17.03.05.SPA.bin (Not Found)
switch:

Additionally, not lights come on on the usb stick itself when being plugged into the switch, but lights do flash during the format and when plugged into a PC

 

USB is 4GB drive used it other cisco devices without an issue, I just formatted usb to FAT, not FAT32 format and added .bin file back on it again

Thank you I take as you mentioned this USB working on other switches.

My personal experience - some time when I boot the device USB plugged in, seen not recognised,. can you plug the USB after switch: (this my experience and test it)

other options you have is XTERM and TFTP (below guide explain how you can get recover this devices)

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-series-switches/216944-troubleshoot-bootloader-rommon-and-pas.pdf

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Ok thank you Balaji,

I waited on the switch to boot then plugged in the USB, it still does not recognize the usb at all. I also tried xmodem and get this result

 

switch: copy ?
Usage: copy <src file> <dest file>
switch: copy xmodem: flash:cat9k_lite_iosxe.17.03.05.SPA.bin
Unsupported destination device/filesystem.
switch: no hw-module usb disable
Error: command 'no' not found. Use 'help' to list commands.
switch:
switch:
switch:
switch:
switch: boot usbflash0:cat9k_lite_iosxe.17.03.05.SPA.bin
boot: attempting to boot from [usbflash0:cat9k_lite_iosxe.17.03.05.SPA.bin]
boot: reading file cat9k_lite_iosxe.17.03.05.SPA.bin
media drive "usbflash0:" not present.
boot: failed to load usbflash0:cat9k_lite_iosxe.17.03.05.SPA.bin

ERROR: failed to boot from usbflash0:cat9k_lite_iosxe.17.03.05.SPA.bin (Not Found)
switch:
switch:
switch:
switch:
switch:
switch: dir
usage: dir <path-to-directory>
supported filesystem(s):
flash: ro flash
usbflash0: rw front-panel USB 0
usbflash1: rw front-panel USB 1
switch: dir usbflash0:
media drive "usbflash0:" not present.
Error[22]: Failed to open directory!
switch: dir usbflash1:
media drive "usbflash1:" not present.
Error[11]: Failed to open directory!
switch:
switch:
switch:
switch:
switch: copy xmodem:
switch: copy xmodem: flash:
Unsupported destination device/filesystem.
switch: copy xmodem: flash: cat9k_lite_iosxe.17.03.05.SPA.bin
switch:

I also tried to use TFTP method but the switch can only ping the default gateway, the PC is connected to a flat 3750 switch with the IP of 10.0.0.153 this is not pingable from the switch and the switch can not ping the PC but can ping default gateway, ports on the front of the 9200 do not activate when something is plugged into them so I plugged into the serial port on the back of the 9200, please kindly see below results...

 

switch: set
ABNORMAL_RESET_COUNT=1
AUTO_SWITCH_CONSOLE_DISABLE=0
BSI=0
DC_COPY=yes
DEFAULT_GATEWAY=10.0.0.1
IP_ADDRESS=10.0.0.155
IP_SUBNET_MASK=255.255.255.0
MAC_ADDR=5C:5A:C7:59:D4:80
MANUAL_BOOT=no
MCP_STARTUP_TRACEFLAGS=00000000:00000000
MODEL_NUM=C9200-24P
MOTHERBOARD_SERIAL_NUM=XXXXXXXXXXX
RANDOM_NUM=XXXXXXXXX
RET_2_RCALTS=XXXXXXXXXX
ROMMON_BOARDID=0x322
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=XXXXXXXXXXX
TEMPLATE=advanced
switch: ping 10.0.0.1
Pinging 10.0.0.1
!!!!
10.0.0.1 is alive!
switch: ping 10.0.0.153
Pinging 10.0.0.153
!ICMP: Request Timed Out....
!ICMP: Request Timed Out....
!ICMP: Request Timed Out....
!ICMP: Request Timed Out....
Failed to ping 10.0.0.153
switch:

i would suggest using the MGMT port to recover back to back PC.(make sure the PC turns off firewall)

download  tftpd32/64 and copy the image in root folder of TFTP

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thank you Balaji,

Do you mean the port under the console port on the back? If so should I plug directly into the port from my laptop?

Ive plugged my laptop into the MGMT port on the back, Ive configured the switch with an IP_ADDRESS of 192.168.1.3, IP_SUBNET_MASK of 255.255.255.0 and DEFAULT_GATEWAY of 192.168.1.1; the switch can not ping the PC and the PC can not ping the switch to start the tftp process, any idea what I may be doing wrong, or is this the switch? Ive also turned off Windows Defender Firewall to allow connections on the PC.

TFTP seems to still be working even though I can not ping, please see output

switch: boot tftp://192.168.1.2/cat9k_lite_iosxe.17.03.05.SPA.bin
boot: attempting to boot from [tftp://192.168.1.2/cat9k_lite_iosxe.17.03.05.SPA.bin]
Filename : /cat9k_lite_iosxe.17.03.05.SPA.bin
IpAddress : 192.168.1.3
TftpServer : 192.168.1.2
TftpBlkSize : 1468
!!!!!!!TFTP: Session Timed Out....

boot: failed to download file tftp://192.168.1.2/cat9k_lite_iosxe.17.03.05.SPA.bin
switch: boot tftp://192.168.1.2/cat9k_lite_iosxe.17.03.05.SPA.bin
boot: attempting to boot from [tftp://192.168.1.2/cat9k_lite_iosxe.17.03.05.SPA.bin]
Filename : /cat9k_lite_iosxe.17.03.05.SPA.bin
IpAddress : 192.168.1.3
TftpServer : 192.168.1.2
TFTP: Session Timed Out for 4 retries.

boot: failed to download file tftp://192.168.1.2/cat9k_lite_iosxe.17.03.05.SPA.bin
switch:

ANy idea why it keeps erroring out?

dawhorl_0-1704489458644.png

 

You don't need a default gateway just set an ip address to your computer (tftp server) and the switch. To make mine work I added an additional switch to solve the ARP problem so I could ping

dawhorl_1-1704489604362.png