11-14-2024 09:10 AM
Hi,
I have two 9300-24UX and on both I have the same problem. Both are factory-resetted and started in ROMMON. Then I booted the switch with boot usbflash0:<filename>.bin from my USB Stick. After they started, I will install and activate the IOS: install add file usbflash0:<filename>.bin activate commit, but now, the switch doesn‘t find the USB Stick, on both switches the same problem. dir ? Doesn‘t show the usbflash0.
On other 9300 switches this procedure works fine. I have only on the 9300-24UX the problem.
I have no idea anymore.
greetings
CiscoMan86
Solved! Go to Solution.
11-14-2024 03:49 PM
@CiscoMan86 wrote:
Both are factory-resetted and started in ROMMON. Then I booted the switch with boot usbflash0:<filename>.bin from my USB Stick.
That is an incorrect process (takes longer time).
After factory-reset of the switch, the most effective (& efficient) method of putting the firmware back in is to use the following command:
emergency-install usbflash0:firmware.bin
11-14-2024 11:40 AM
what is the IOS XE Code you booted, can you post complete boot log and error you getting ?
after booting are you able to dir usbflash0:
follow below steps always works :
dir usbflash0:
h# copy usbflash0:cat9k_iosxe.xxxxxxxxxxxxxxx.bin flash:
Install the software.
# request platform software package install switch all file flash:cat9k_iosxe.xxxxxxxxx.bin auto-copy
# reload
On other 9300 switches this procedure works fine. I have only on the 9300-24UX the problem.
i am more keen to know what is other models and what IOS Xe running on that devices ?
11-14-2024 11:49 AM
after booting are you able to dir usbflash0: ——> no, i‘m NOT able to dir usbflash0:, because usbflash0 isn‘t there (this is my problem)
i am more keen to know what is other models and what IOS Xe running on that devices ? —-> for example 9300-48T or 9300X-48TX, all with IOS 17.9.5
11-14-2024 12:42 PM
what is the IOS XE for this model you running same version ?
dir all (see output)
11-14-2024 01:01 PM
Sry, I don’t understand your Question. What do you mean? When you mean the IOS XE version, I use for all the devices IOS XE 17.9.5.
11-14-2024 03:49 PM
@CiscoMan86 wrote:
Both are factory-resetted and started in ROMMON. Then I booted the switch with boot usbflash0:<filename>.bin from my USB Stick.
That is an incorrect process (takes longer time).
After factory-reset of the switch, the most effective (& efficient) method of putting the firmware back in is to use the following command:
emergency-install usbflash0:firmware.bin
11-14-2024 10:39 PM
Thx @Leo Laohoo, one Switch is now okay and installed with 17.9.5.
But when I try the command on the other Switch I get an error:
switch: emergency-install usbflash0:cat9k_iosxe.17.09.05.SPA.bin
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:cat9k_iosxe.17.09.05.SPA.bin) ...boot: attempting to boot from [sda9:cat9k-recovery.SSA.bin]
boot: reading file cat9k-recovery.SSA.bin##############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
PLATFORM_TYPE C9300 speed 9600
Booting Recovery Image 16.6.1
Initiating Emergency Installation of bundle usbflash0:cat9k_iosxe.17.09.05.SPA.bin
Emergency Install failed - bundle usbflash0:cat9k_iosxe.17.09.05.SPA.bin does not exist
Will reboot now
11-14-2024 11:03 PM
@CiscoMan86 wrote:
Emergency Install failed - bundle usbflash0:cat9k_iosxe.17.09.05.SPA.bin does not exist
Translation: File "cat9k_iosxe.17.09.05.SPA.bin" is not found in the USB flash drive.
11-14-2024 11:09 PM
And why can the switch start the first steps from USB? That's not logical!
switch: emergency-install usbflash0:cat9k_iosxe.17.09.05.SPA.bin
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:cat9k_iosxe.17.09.05.SPA.bin) ...boot: attempting to boot from [sda9:cat9k-recovery.SSA.bin]
boot: reading file cat9k-recovery.SSA.bin#########################################################################################
PLATFORM_TYPE C9300 speed 9600
11-14-2024 11:10 PM - edited 11-14-2024 11:12 PM
Could be a bug.
Cold reboot the switch and try again.
Before the reboot, remove the USB flash drive. Insert only after the switch has gone into ROMMON and check the USB flash has been correctly identified:
dir usbflash0:
11-14-2024 11:13 PM - edited 11-14-2024 11:13 PM
Now, I used an other USB Stick, with this the recovery is working. Strange. But now I'm happy.
@Leo Laohoo Thx for the info with the emergency-install command!
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