01-23-2024 01:34 PM
My prompt is currently
switch:
I have a USB flash drive with the file "ie3x00-universalk9.17.09.04a.SPA.bin" on it in the switch.
I booted from the file once but when I cycled power with the USB Flash drive removed it returned to the 'switch:" prompt. When I try to copy the file...
switch: copy usbflash0:ie3x00-universalk9.17.09.04a.SPA.bin flash:ie3x00-universalk9.17.09.04a.SPA.bin
Error: dst file "flash:ie3x00-universalk9.17.09.04a.SPA.bin" could not be opened for writing
Does anyone have directions on how to install the ios? Or know of a document describing the steps?
Solved! Go to Solution.
01-23-2024 02:04 PM
Hello @TerryMurray ,
your switch is stuck at the switch: prompt. You should boot first the image from the emergency partition, emgy0:, and after that copy the new IOS from the usb to flash.
More details in the following document: https://www.cisco.com/c/en/us/td/docs/switches/lan/cisco_ie3X00/Hardware/installation/guide/emergency-recovery-ie3x00.html
Hope it helps.
01-23-2024 01:53 PM
Hello @TerryMurray
Boot again thanks to usbflash0:
boot usbflash0:ie3x00-universalk9.17.09.04a.SPA.bin
After ios booted, ensure that config-register value is 0x2102. Check that by doing #sh version. If not this value, so modify and configure this one 0x2102:
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0x2102
Copy the bin file to your flash and ensure system boot is configured with your bin file installed in the flash.
Save and boot without usbflash.
01-23-2024 02:13 PM
After I boot I no longer have a list of file systems like usbflash0: to copy from. How do I copy between the file systems?
01-23-2024 02:20 PM
What is the prompt you have for the switch? If it's switch: it means you haven't booted an IOS XE image.
Please use the following guide: https://www.cisco.com/c/en/us/td/docs/switches/lan/cisco_ie3X00/Hardware/installation/guide/emergency-recovery-ie3x00.html
01-23-2024 02:42 PM
Found I can "#copy ymodem: flash: " but it is slow at 9600 baud. Making progress!
01-23-2024 04:17 PM
I was about to ask if the switch has an SD flash in it or not because it would be faster to xModem.
01-23-2024 01:53 PM
So, not sure on that exact switch, but by the version it's similar to our 9300s. Here is my notes on installing updates and cleaning up. Change your file to the correct type. We did have a change to the installs in the newer code.
9300s
en
copy usbflash0:cat9k_iosxe.17.06.04.SPA.bin flash:
request platform software package install switch all file flash:cat9k_iosxe.17.06.04.SPA.bin auto-copy
request platform software package clean switch all file flash:
9300s NEW
en
copy usbflash0:cat9k_iosxe.17.09.03.SPA.bin flash:
install add file flash:cat9k_iosxe.17.09.03.SPA.bin activate commit
install remove inactive
01-23-2024 01:54 PM - edited 01-23-2024 01:54 PM
@TerryMurray wrote:switch: copy usbflash0:ie3x00-universalk9.17.09.04a.SPA.bin flash:ie3x00-universalk9.17.09.04a.SPA.bin
Copying into the flash, from ROMMON, is not allowed because it is to stop "bad actors" from tampering the file(s) and partitions.
Boot the switch again using the USB and then copy the firmware across to the flash.
01-23-2024 02:04 PM
Hello @TerryMurray ,
your switch is stuck at the switch: prompt. You should boot first the image from the emergency partition, emgy0:, and after that copy the new IOS from the usb to flash.
More details in the following document: https://www.cisco.com/c/en/us/td/docs/switches/lan/cisco_ie3X00/Hardware/installation/guide/emergency-recovery-ie3x00.html
Hope it helps.
01-23-2024 02:45 PM
Thank you for the document. It is helpful. I may still have a config number issue mentioned as above by mo2@rt37 (Mozart37)?
01-23-2024 09:54 PM
In ROMmon you should be able to adjust config-register, check if this command is available:
confreg 0x2102
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