09-21-2023 01:11 AM
I just reset my Catalyst 9200L by this command.
switch# factory reset all
then after I got this warning message.
switch: boot
warning: Bootable URL's in BOOT variable not found or exhausted.
please check the ROMMON configuration or BOOT command usage.
and i tried to push IOS by dwonloading it from cisco site https://software.cisco.com/download/home/286320046/type/282046477/release/Cupertino-17.9.4
and tried it with USB flash to push the IOS.
but i got this error at that time.
switch: boot usbflash0:
boot: attempting to boot from [usbflash0:]
boot: reading file cat9k_lite_iosxe.17.09.04.SPA.bin
##############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
Unknown package structure
boot: failed to find bootable image on device usbflash0:
ERROR: failed to boot from usbflash0: (Not Found)
switch: ?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
alias Set and display aliases command
boot Load and boot an executable image
cat Concatenate (type) file(s)
copy Copy a file
date Show or Set system date
delete delete file(s)
dir List files in directories
dns-lookup Send DNS standard query packets
emergency-install Initiate Disaster Recovery
help Present list of available commands
history Monitor command history
md5 Compute MD5 checksum of a file
mkdir create directory(ies)
meminfo Main memory information
net-show Display current network configuration
ping Send ICMP ECHO_REQUEST packets to a network host
rename Rename a file/directory
reset Reset the system
rmdir delete directory(ies)
set Set or display environment variables
unalias Unset an alias
unset Unset one or more environment variables
version Display boot loader version
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch: emergency-install usbflash0:
WARNING: The system partition (bootflash:) will be erased during the system recovery install process.
Are you sure you want to proceed? [y] y/n [n]: y
Starting system recovery (usbflash0:) ...
boot: attempting to boot from [sda9:cat9k-recovery.SSA.bin]
boot: reading file cat9k-recovery.SSA.bin
##################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
Pa▒љ▒ɵ C9300L
PLATFORM_TYPE C9300L speed 9600
Booting Recovery Image 16.12.1
Initiating Emergency Installation of bundle usbflash0:
Emergency Install failed - bundle usbflash0: does not exist
Will reboot now
Initializing Hardware...
System Bootstrap, Version 17.8.1r[FC2], RELEASE SOFTWARE (P)
Compiled Wed 01/26/2022 11:22:44.16 by rel
Current ROMMON image : Primary
Last reset cause : SoftwareReload
C9300L-24P-4X platform with 8388608 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: dir ?
ERROR: failed to read contents of ? (Not Found)
switch: dir
usage:
dir <path-to-directory>
supported filesystem(s):
flash: ro flash
bootflash: ro system partition
usbflash0: rw front-panel USB
switch: dir flash
ERROR: failed to read contents of flash (Not Found)
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
##############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
Unknown package structure
boot: failed to boot file usbflash0:cat9k_lite_iosxe.17.09.04.SPA.bin
ERROR: failed to boot from usbflash0:/cat9k_lite_iosxe.17.09.04.SPA.bin (Invalid Parameter)
switch: dir flash
ERROR: failed to read contents of flash (Not Found)
switch:
It is the first time that im facing this type of issue.
anyone please help me to solve this issue.
09-21-2023 02:18 AM
Post the complete output to the following commands:
1. set
2. dir flash:
09-21-2023 02:27 AM
switch: dir
usage:
dir <path-to-directory>
supported filesystem(s):
flash: ro flash
bootflash: ro system partition
usbflash0: rw front-panel USB
switch: dir flash:
switch:
09-21-2023 02:28 AM
switch: set
BOARDID=28772
MAC_ADDR=74:8F:C2:89:6F:00
MODEL_NUM=C9300L-24P-4X
MODEL_REVISION_NUM=D0
MOTHERBOARD_ASSEMBLY_NUM=73-102166-03
MOTHERBOARD_REVISION_NUM=C0
MOTHERBOARD_SERIAL_NUM=FOC270714GB
PS1=switch:
ROMMON_AUTOBOOT_ATTEMPT=1
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=FOC2709Y9EB
VERSION_ID=V05
default=router
default_gateway=192.168.1.2
ip=add
ip_subnet_mask=255.255.255.0
switch_ignore_startup_cfg=1
tftp_server=192.168.1.2
09-21-2023 04:40 AM
@arjitsabu wrote:
boot: reading file cat9k_lite_iosxe.17.09.04.SPA.bin
Someone is forcing the switch to load a firmware meant for a 9200L.
@arjitsabu wrote:
MODEL_NUM=C9300L-24P-4X
The switch, however, is a 9300L and the 9300L is not compatible with the firmware meant for a 9200/9200L.
09-21-2023 08:25 AM
Hi Leo,
now I loaded my switch with this command,And I lost its configuration after restarting the switch even after saving the configuration.
Can you please check wether im doing the right configuration.
Because Im not sure about this ,I got this from youtube.
switch: boot usbflash0:
boot: attempting to boot from [usbflash0:]
boot: reading file cat9k_iosxe.17.09.04.SPA.bin
############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
*Sep 21 14:55:04.731: %IOSXEBOOT-4-BOOTLOADER_UPGRADE: (rp/0): ### Thu Sep 21 14:55:04 Universal 2023 PLEASE DO NOT POWER CYCLE ### BOOTLOADER UPGRADING
MM [0] MCU version 54 sw ver 53
MCU UPGRADE IN PROGRESS... PLEASE DO NOT POWER CYCLE!!
Front-end Microcode IMG MGR: found 2 microcode images for 1 device.
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_10_1 update needed: yes
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_10_3 update needed: no
Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0], index=0 ...225940 bytes.
Front-end Microcode IMG MGR: Programming app image for device 0...
Front-end Microcode IMG MGR: MCU already in bootloader mode
0%!!!!!!!!!!!!!!!!!!!!!!!!!
*Sep 21 14:56:58.045: %IOSXEBOOT-4-flashcp: (rp/0): polaris_franklin_rommon.bin
!!!!!!!!!!!!!!!!
10%!!!!!!!!!!!!
*Sep 21 14:57:06.542: %IOSXEBOOT-4-BOOTLOADER_UPGRADE: (rp/0): Thu Sep 21 14:57:06 Universal 2023 BOOTLOADER UPGRADE SUCCESSFULL
09-21-2023 03:22 PM
Post the complete output to the following commands:
1. dir
2. sh romvar
3. sh version
09-21-2023 08:12 AM
Hi Leo,
Thank you for your findings.
I know its my fault anyway thanks for your reply it helped me to recover this.
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