cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
21714
Views
5
Helpful
39
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.

39 Replies 39

balaji.bandi
Hall of Fame
Hall of Fame

You need to provide console Logs what method you tried and what is the error ?

you can recover the device through

different methods.

1. USB ( make sure you use lower size USB like 8GB and 16GB to try) - make sure you formatted as expected 

2. you can use Xterm

3. you can use TFTP

try below discussion for solution :

https://community.cisco.com/t5/switching/catalyst-9200-ios-install/td-p/3926015

BB

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

How to Ask The Cisco Community for Help

Hello Balaji,

 

I dont see any logs on this device, when I type sh log, this is the output I get

 

switch: log
Error: command 'log' not found. Use 'help' to list commands.
switch: sh log
Error: command 'sh' not found. Use 'help' to list commands.
switch:

B2k380
Level 1
Level 1

switch:
set
ABNORMAL_RESET_COUNT=1
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BSI=0
DC_COPY=yes
MAC_ADDR=
MANUAL_BOOT=no
MCP_STARTUP_TRACEFLAGS=00000000:00000000
MODEL_NUM=C9200-24P
MOTHERBOARD_SERIAL_NUM=
RANDOM_NUM=
RET_2_RCALTS=
ROMMON_BOARDID=0x322
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=
TEMPLATE=advanced
ip_addres=
switch:
switch:
switch: ?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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:
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:

B2k380
Level 1
Level 1

I currently have USB plugged into USB0, this is the output...

switch: dir usbflash0:
media drive "usbflash0:" not present.
Error[22]: Failed to open directory!
switch:

B2k380
Level 1
Level 1

This is what I get from the commands:

 

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 flash:

Attributes Size Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-rw-r--r-- 3301 boothelper.log
-rw-r--r-- 2097152 nvram_config
drwxr-xr-x 4096 .installer
-rw-r--r-- 333 bootloader_evt_handle.log
drwxr-xr-x 4096 core
drwxrwxrwx 4096 .prst_sync
drwxr-xr-x 4096 .rollback_timer
drwxr-xr-x 4096 tech_support
drwxr-xr-x 4096 dc_profile_dir
-rw------- 0 dope_hist
-rw-r--r-- 134458 memleak.tcl
lrwxrwxrwx 13 NVRAM -> /flash1/NVRAM
drwxr-xr-x 4096 .dbpersist
-rw-r--r-- 864 rdope_out.txt
drwxr-xr-x 4096 license_evlog
drwxr-xr-x 4096 onep
-rw-r--r-- 89 rdope.log
-rw-r--r-- 35 pnp-tech-time
-rw-r--r-- 5242880 ssd
-rw-r--r-- 2097152 nvram_config_bkup
-rw-r--r-- 72893 pnp-tech-discovery-summary
drwxrwxrwx 4096 gs_script
-rw-r--r-- 2131 boothelper.log.old
-rw-r--r-- 4920 packages.conf
drwxr-xr-x 4096 ss_disc
-rw-rw-rw- 301188116 cat9k_lite-rpbase.16.11.01.SPA.pkg
-rw-rw-rw- 35112025 cat9k_lite-rpboot.16.11.01.SPA.pkg
-rw-rw-rw- 4326420 cat9k_lite-srdriver.16.11.01.SPA.pkg
-rw-rw-rw- 8328208 cat9k_lite-webui.16.11.01.SPA.pkg
drwxr-xr-x 4096 sys_report
drwxr-xr-x 4096 .USWAP
drwxr-xr-x 4096 .CRFT
drwxr-xr-x 4096 Tbot
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

switch:

 

 

switch: set
ABNORMAL_RESET_COUNT=1
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BSI=0
DC_COPY=yes
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
ip_addres=
switch:

 

 

B2k380
Level 1
Level 1

Not sure why but I have replied to this thread 3 times and they are all disappearing, looks like I need a lot of help here.

Hi, check this thread. it gives steps how to prepare USB for cisco devices. 

https://community.cisco.com/t5/switching/usb-not-recognized-in-3850/td-p/3096320

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Hi Kasun, 

USB is recognized in all other Cisco devices, and was even used recently to upgrade iOS on another 9200.

Leo Laohoo
Hall of Fame
Hall of Fame

Console into the switch and reboot.  I want to see what the switch is doing.

So from start up boot, 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:

B2k380
Level 1
Level 1

Sorry I have been traveling all week, I will post all info shortly, thank you for your assistance.

B2k380
Level 1
Level 1

It appears the switch is stuck in bootloader mode with the switch:, bootloader if im not mistaken is Read Only, so it will not allow me to make any changes, if I can get it to rommon with the ROMMON1> prompt I should be able to use the USB, but right now the usb is not reconizable when in the drive, is this the same USB that I have used in other switches in the past to upgrade iOS and it worked perfectly fine, but this is the output I get when I plug the usb in and try to run it, USB is already plugged into switch....

 

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: 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[11]: Failed to open directory!
switch:

issue command switch: set

switch:boot  flash:packages.conf

 

 

BB

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

How to Ask The Cisco Community for Help

This is the output after entering that command...

 

switch: boot flash:packages.conf
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf

boot: failed to load flash:/user/cat9k_lite-rpboot.17.03.05.SPA.pkg

ERROR: failed to boot from flash:packages.conf (Not Found)
switch: