cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
698
Views
1
Helpful
3
Replies

Switch in ROMON

RMS3
Level 1
Level 1

Hi All,

I am currently working on a C9200 switch and while trying to upgrade the packages.conf file has been deleted by mistake and the switch is in ROMON mode.

The output of  dir flash:

Attributes Size Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-rw-r--r-- 2151 boothelper.log
-rw-r--r-- 856 vlan.dat
drwxr-xr-x 4096 .installer
drwxr-xr-x 4096 .rollback_timer
drwxr-xr-x 4096 core
drwxr-xr-x 4096 .USWAP
drwxr-xr-x 4096 .CRFT
-rw-r--r-- 555 bootloader_evt_handle.log
drwxrwxrwx 4096 .prst_sync
-rw-r--r-- 5242880 ssd
drwxr-xr-x 4096 ss_disc
drwxr-xr-x 4096 tech_support
drwxr-xr-x 4096 dc_profile_dir
drwxrwxrwx 4096 SHARED-IOX
-rw-r--r-- 137940 memleak.tcl
drwxr-xr-x 4096 Tbot
drwxr-xr-x 4096 sys_report
drwxr-xr-x 4096 fp_cc_crash
drwxr-xr-x 4096 .rommon_sync
lrwxrwxrwx 13 NVRAM -> /flash1/NVRAM
-rw-r--r-- 1338 DigiCertGlobalRootCA.ca
-rw-r--r-- 1606 StarfieldServicesRootCA.ca
-rw-r--r-- 1261 Baltimore.ca
drwxr-xr-x 4096 .dbpersist
-rw-r--r-- 15528 rdope_out.txt
drwxr-xr-x 4096 pnp-info
drwxr-xr-x 4096 onep
drwxr-xr-x 4096 license_evlog
-rw-r--r-- 89 rdope.log
-rw------- 0 dope_hist
-rw-r--r-- 2097152 nvram_config
-rw-r--r-- 2097152 nvram_config_bkup
drwxr-xr-x 4096 pnp-tech
-rw-r--r-- 301 lateshutdown.log
-rwxr-xr-x 0 mode_event_log
-rw-rw-rw- 1251579379 cat9k_iosxe.17.09.04a.SPA.bin
-rw-r--r-- 2151 boothelper.log.old
drwxrwxrwx 4096 gs_script
drwxr-xr-x 4096 EDScisco
-rw-r--r-- 1924 ISRGRootX1CrossSignDST.ca
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I tried booting through cat9k_iosxe.17.09.04a.SPA.bin but it says image not found.
The XMODEM does not work as the flash is readonly.

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

Can someone please help me solve this and restore the switch?

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

@RMS3 wrote:
cat9k_iosxe.17.09.04a.SPA.bin

The filename "cat9k_iosxe.17.09.04a.SPA.bin" is not compatible with a 9200/9200L.  The firmware is only for a 9300, 9400, 9500 or 9600.

Download the correct firmware from the Cisco website and into a USB flash drive and use the command "emergency-install usbflash0:filename.bin".  

WARNING:  The command will factory-reset the switch.

View solution in original post

3 Replies 3

Leo Laohoo
Hall of Fame
Hall of Fame

@RMS3 wrote:
cat9k_iosxe.17.09.04a.SPA.bin

The filename "cat9k_iosxe.17.09.04a.SPA.bin" is not compatible with a 9200/9200L.  The firmware is only for a 9300, 9400, 9500 or 9600.

Download the correct firmware from the Cisco website and into a USB flash drive and use the command "emergency-install usbflash0:filename.bin".  

WARNING:  The command will factory-reset the switch.

Thanks for the reply Leo. Please see attached snip,Cisco website suggests we can use 17.9.4a for 9200L switches.

Ranjita_0-1701156450723.png

The USB port isnt detected on ROMON either,any help on this would be highly appreciated.

Use a different USB flash drive.