06-12-2024 06:29 AM
I received a 9200L from the field that was factory-reset. I tried to do an emergency-install from USB but it is not a valid command. So I then tried boot usbflash0:cat9k_lite_iosxe.17.09.04.SPA.bin and it seemed it was going to work, but now it is still stuck in rommon. Furthermore I can't access usbflash0 or usbflash1. Any input that helps me get the IOS back on this puppy is greatly appreciated.
switch: boot usbflash0:cat9k_lite_iosxe.17.09.04.SPA.bin
boot: attempting to boot from [usbflash0:cat9k_lite_iosxe.17.09.04.SPA.bin]
boot: reading file cat9k_lite_iosxe.17.09.04.SPA.bin
#####################################################################################################################################################
*Jun 12 08:44:00.474: %IOSXEBOOT-4-BOOTLOADER_UPGRADE: (rp/0): ### Wed Jun 12 08:44:00 Universal 2024 PLEASE DO NOT POWER CYCLE ### BOOT LOADER UPGRADING
*Jun 12 08:44:17.931: %IOSXEBOOT-4-BOOTLOADER_UPGRADE: (rp/0): Wed Jun 12 08:44:17 Universal 2024 Bootloader upgrade successful
*Jun 12 08:44:17.940: %IOSXEBOOT-4-BOOTLOADER_UPGRADE: (rp/0): Reloading to enable the New BOOTLOADER and MCU
Jun 12 08:44:23.207: %PMAN-5-EXITACTION: F0/0: pvp: Process manager is exiting:
Jun 12 08:44:23.207: %PMAN-5-EXITACTION: C0/0: pvp: Process manager is exiting:
Initializing Hardware...
System Bootstrap, Version 17.9.1r [FC13], RELEASE SOFTWARE (P)
Compiled Thu 06/08/2023 20:36:25 by rel
Current ROMMON image : Primary
C9200L-48P-4G platform with 2097152 Kbytes of main memory
WARNING: Bootable URL's in BOOT variable not found or exhausted.
Please check the ROMMON configuration or boot command usage.
06-12-2024 06:44 AM
After a few attempts resetting the switch and not being able to read the USB, I removed power and booted again. I am able to read the usbflash and It appears to be installing the IOS again. I will ping again if it does not work out as expected.
06-12-2024 06:47 AM
Seems like your boot variable is not correct. Can you send the output from "dir flash:" in ROMMON?
You should be able to load your firmware to an USB, boot from it, copy it to flash and set the boot variable with the following procedure:
boot usbflash0:/cat9k_lite_iosxe.16.09.04.SPA.bin
(wait for boot)
en
copy usbflash0:/cat9k_lite_iosxe.16.09.04.SPA.bin flash:
config t
boot system cat9k_lite_iosxe.16.09.04.SPA.bin
switch#(config)exit
switch#reload
switch#(confirm) y
The procedure was originally posted by @squareoneit in this thread
06-12-2024 08:07 AM
Here is the contents of the flash
switch: dir flash:
Attributes Size Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
drwxrwxrwx 4096 SHARED-IOX
-rwxr-xr-x 0 mode_event_log
drwxrwxrwx 4096 .prst_sync
drwxr-xr-x 4096 .installer
drwxr-xr-x 4096 .rollback_timer
drwxr-xr-x 4096 core
drwxr-xr-x 4096 .USWAP
-rw-r--r-- 74 bootloader_evt_handle.log
drwxr-xr-x 4096 .CRFT
drwxrwxrwx 4096 gs_script
drwxr-xr-x 4096 tech_support
drwxr-xr-x 4096 dc_profile_dir
drwxr-xr-x 4096 EDScisco
-rw-r--r-- 2151 boothelper.log
-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-- 1924 ISRGRootX1CrossSignDST.ca
-rw-r--r-- 1606 StarfieldServicesRootCA.ca
-rw-r--r-- 1261 Baltimore.ca
-rw-r--r-- 301 lateshutdown.log
-rw-r--r-- 3329 boothelper.log.old
-rw-r--r-- 15528 rdope_out.txt
-rw-r--r-- 89 rdope.log
drwxr-xr-x 4096 .dbpersist
drwxr-xr-x 4096 pnp-info
drwxr-xr-x 4096 onep
drwxr-xr-x 4096 license_evlog
-rw-r--r-- 2097152 nvram_config
-rw------- 0 dope_hist
-rw-r--r-- 2097152 nvram_config_bkup
drwxr-xr-x 4096 pnp-tech
06-12-2024 03:41 PM
you don't have bin file in flash the command mentioned other post need use exact or try below step :
switch: boot usbflash0:cat9k_lite_iosxe.17.09.04.SPA.bin
Once it boot and # prompt
#copy usbflash0:cat9k_lite_iosxe.17.09.04.SPA.bin flash:
# dir flash:*.bin (check bin file in flash)
#config t
boot system flash:cat9k_lite_iosxe.17.09.04.SPA.bin
exit
write
show boot (make sure you have boot image configured)
reload and test it.
06-12-2024 03:47 PM
emergency-install usbflash0:cat9k_lite_iosxe.17.09.04.SPA.bin
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