2

I was trying to upgrade WS-C3750X-48T-S IOS software from universalk9-mz.122-53.SE2.bin to c3750e-universalk9-mz.152-4.E6.bin

First I deleted all files under flash: folder, then downloaded new one from tftp (yes its mistake)

and reload the switch now its booting in loop again and again and giving error

Loading "flash:/c3750e-universalk9-mz.122-53.SE2/c3750e-universalk9-mz.122-53.SE2.bin"...flash:/c3750e-universalk9-mz.122-53.SE2/c3750e-universalk9-mz.122-53.SE2.bin: no such file or directory

Error loading "flash:/c3750e-universalk9-mz.122-53.SE2/c3750e-universalk9-mz.122-53.SE2.bin"

After this I pressed MODE button and powered on the switch, when it comes to switch: prompt, i issued

switch: dir flash:
Directory of flash:/

    2  -rwx  25906176  <date>               c3750e-universalk9-mz.152-4.E6.bin
    3  -rwx  3019      <date>               config.text
    4  -rwx  1938      <date>               private-config.text
    5  -rwx  5144      <date>               multiple-fs

31542784 bytes available (26128896 bytes used) How can I copy back original IOS back in place?

1 Answer 1

3

The boot variable says that the IOS image file should be searched at the following path:

flash:/c3750e-universalk9-mz.122-53.SE2/c3750e-universalk9-mz.122-53.SE2.bin

And as it seems, neither directory flash:/c3750e-universalk9-mz.122-53.SE2/ nor file c3750e-universalk9-mz.122-53.SE2.bin are there any longer.

There is no need to copy the original image back, just manually force the switch into rommon and make it load the new image. Probably, you just need to wait through a boot cycle, and it will present you with a rommon> prompt

  • (if needed), force the switch into rommon with the mode button procedure. (keep the mode button pressed while power-on for ca. 30sec); the procedure is also described in various FAQs related to password recovery of 2960/3560/3750 switches.
  • at the rommon> prompt, type boot flash:/c3750e-universalk9-mz.152-4.E6.bin (because that is the location and filename of the new image uploaded to the switch)
  • once booted up, go into config mode and use the boot system flash flash:/path/file.bin (in your case: boot system flash flash:/c3750e-universalk9-mz.152-4.E6.bin) command, so that it points to the correct IOS image file.

Suggestion: Next time, use the archive download-sw .... commands to upgrade a 3750, especially when upgrading a switch stack. Saves an immeasurable amount of time and avoids most kinds of errors that can happen, even sets the boot system flash ... commands for you.

Hint: it is very possible that when upgrading from IOS 12.2(53)SE2 to 15.2(4)E6, there will be a microcode upgrade to the ASICs. That will be taken care of automatically upon first boot of the new IOS. Depending on the number of ports (12,24,48), this might need enough time for a decent lunch break.

Disclaimer: This of course will only work if the new IOS image file is not corrupted in any way. If that happens to be the case, you may resort to loading an IOS image via network and TFTP, or booting an IOS image from an USB stick might also work (3750X should be young enough to have an USB port and a rommon version capable of accessing USB storage)

5
  • its saying, % Front-end Microcode IMG MGR: address 0, PROGRAM failed % Front-end Microcode IMG MGR: unable to program device: 3 % Front-end Microcode IMG MGR: malformed microcode cache
    – iBBi
    Aug 21, 2018 at 8:38
  • ouha... that doesn't sound right. Please try to boot the formerly used .bin file, from usb stick? That would be something like boot usb0:/filename.bin or boot usbflash:/filename.bina the rommon> resp. the switch: prompt - I'm not quite sure how the usb storage is shown during rommon. Aug 21, 2018 at 8:57
  • ... afterwards, it might be necessary to upgrade to the latest 12.2(xxx) release first, then upgrade to 15.2(xxx). At the very limit, it might turn out to be a case for TAC Aug 21, 2018 at 9:02
  • Ok i pressed mode button and powered on the switch, at SWITCH# prompt, I did following, boot flash:c3750e-universalk9-mz.152-4.E6.bin then it booted , afterwards, I issued following, boot system flash:c3750e-universalk9-mz.152-4.E6.bin ... <br> all went ok
    – iBBi
    Aug 21, 2018 at 10:09
  • witch Ports Model SW Version SW Image ------ ----- ----- ---------- ---------- * 1 54 WS-C3750X-48 15.2(4)E6 C3750E-UNIVERSALK9-M
    – iBBi
    Aug 21, 2018 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.