11-27-2023 05:31 AM
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?
Solved! Go to Solution.
11-27-2023 01:42 PM - edited 11-27-2023 01:43 PM
@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.
11-27-2023 01:42 PM - edited 11-27-2023 01:43 PM
@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.
11-27-2023 11:28 PM
Thanks for the reply Leo. Please see attached snip,Cisco website suggests we can use 17.9.4a for 9200L switches.
The USB port isnt detected on ROMON either,any help on this would be highly appreciated.
11-28-2023 01:43 AM
Use a different USB flash drive.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide