cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
30133
Views
5
Helpful
9
Replies

3750 switch IOS upgrade failed

kiran
Level 1
Level 1

Hi..

I have upgraded my 3750X switch from

c3750e-universalk9-mz.122-53.SE3

c3750e-universalk9-mz.122-55.SE5.bin

later that by mistake i typed

delete /force /recursive flash:

now, I am unable to load new IOS

error loading "flash:c3750e-universalk9-mz.122-55.SE5.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

switch:

switch:

kindly let me know what are the next steps

9 Replies 9

Arumugam Muthaiah
Cisco Employee
Cisco Employee

Hi Kiran,

When you issue the delete /force /recursive flash:dir_name command in order to delete a directory and all the files in the directory.

The 3750 ships from the factory with the installation of a web-based device manager (.tar file) in the flash: directory. The extraction process that takes place with a .tar file creates a Cisco IOS image directory. The image directory has the same name as the Cisco IOS image (.bin file), but without the file extension. This directory stores the Cisco IOS image (.bin file) along with an HTML subdirectory that contains the device manager files.

Issue the dir flash: command in order to view the 3750 Flash file system. Here is a sample command output:

3750#dir flash:
Directory of flash:/

    2  -rwx  5684228  Mar 12 1993 08:13:57 +00:00  c3750-ipbase-mz.122-25.SEC2.bin
    3  -rwx     2105   Mar 1 1993 00:02:16 +00:00  config.text
    4  drwx      192  Mar 12 1993 08:11:00 +00:00  c3750-ipbase-mz.122-25.SEB4
    5  -rwx        5   Mar 1 1993 00:02:16 +00:00  private-config.text
    6  -rwx      856   Mar 1 1993 00:04:40 +00:00  vlan.dat
  364  -rwx      105  Mar 12 1993 08:11:00 +00:00  info

15998976 bytes total (3201536 bytes free)

A 3750 switch stack can be managed either with the web device manager or with the CLI. If you manage the switch with the CLI, you do not need the .tar image

1. Download the .bin Image

2. Verify the Available Memory

3. Copy the Images to the Flash File System

Example:
Switch#copy tftp: flash:
Address or name of remote host [172.22.1.165]?
Source filename [c3750-advipservicesk9-mz.122-25.SEE2]? c3750-advipservicesk9-
.122-25.SEE2.bin
Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Accessing tftp://172.22.1.165/c3750-advipservicesk9-mz.122-25.SEE2.bin...
Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 172.22.1.165 (via Vlan1)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 8172194 bytes]

8172194 bytes copied in 203.718 secs (40115 bytes/sec)

4. Configure the Boot Variable


Configure the boot variable to boot the switch with the newly copied IOS:

Switch(config)#boot system flash:
Switch(config)#exit
Switch#write memory


5. Verify Before the Reload
Verify the boot variable:

Switch#show boot
BOOT path-list      : flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin

6. Reload and Verify

This doc has below detail

  • 3750 Series Switch Stack IOS Upgrade - Manual (.tar image)
  • 3750 Series Switch Stack IOS Upgrade - Automatic (.tar image)
  • 3750 Series Switch Stack IOS Upgrade - Manual (.bin Image)

Refer:

http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_example09186a00804799d7.shtml#cfbin1

Regards,

Aru

*** Please rate if the post useful ***

Regards, Aru *** Please rate if the post useful ***

Hi Aru,

I did followed all stpes but I forgot to mention boot system flash:

before reboot I checked show flash, it was empty... no files were stored in flash as I typed below command

delete /force /recursive flash enter

now switch in ROMMON mode,

error loading "flash:c3750e-universalk9-mz.122-55.SE5.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

switch:

switch:

now I would like to know how to reload the switch and get into configuration mode.

Hi Kiran,

Please see the below procedure to recover and load the image. We can set the ipaddress even in the rommon prompt and transfer the image

  • Connect your PC to the switch Ethernet management port.
  • Unplug the switch power cord.
  • Press the Mode button, and at the same time, reconnect the power cord to the switch.

You can release the Mode button a second or two after the LED above port 1 goes off. Several lines of information about the software appear with instructions:

The system has been interrupted prior to initializing the flash file system. The following commands will initialize the flash file system, and finish loading the operating system software#
flash_init
boot

  • Initialize the flash file system:

          switch: flash_init

  • Connect the switch to a TFTP server through the Ethernet management port.
  • Start the file transfer by using TFTP.

        

          a. Specify the IP address of the TFTP server:

               switch: set IP_ADDR ip_address/mask

         

          b. Specify the default router:

               switch: set DEFAULT_ROUTER ip_address

  • Copy the software image from the TFTP server to the switch:

          switch: copy tftp://ip_address/filesystem:/source-file-url flash:image_filename.bin

  • Boot up the newly downloaded Cisco IOS image.

          switch: boot flash:image_filename.bin

  • Use the reload privileged EXEC command to restart the switch and to verify that the new software image is operating properly

Refer:

http://www.cisco.com/en/US/docs/switches/lan/catalyst3750x_3560x/software/release/12.2_55_se/configuration/guide/swtrbl.html#wp1099467

Regards,

Aru

*** Please rate if the post is useful ***

Regards, Aru *** Please rate if the post useful ***

Hi,

I have a ws-c3750g-12s that has corrupt IOS software and is now in ROMMON mode. How can i follow the procedures above when I only have a Console port and not a management port on the 3750?

Thanks,

G

Hi Gil,

Go here.

erazvi
Cisco Employee
Cisco Employee

I was in a similar sitaution. I hope you have already resoved this issue but for those who are still looking to for instructions you will find step by step to recover from boot loader as I have noticed a minor error in cisco docs which have been pointed out in the post below.

http://blog.unolution.com/networking/how-to-recover-a-cisco-switch-3560x-3750x-from-boot-loader/

Hope this helps.

I was in a similar sitaution. I hope you have already resoved this issue but for those who are still looking to for instructions you will find step by step to recover from boot loader as I have noticed a minor error in cisco docs which have been pointed out in the post below.

Not bad proceedure.

But I have a simpler sure-fire method:  USB boot.

  1. Copy the IOS (BIN file) into a supported USB thumb drive.
  2. In ROMmon, use the command "boot usbflash0:IOS.bin". 

This process is NOT found in Cisco documentation.  I have no idea why. 

That's awesome Leo. I didn't know usb was supported. Sure it's a hidden command and easier that tftp. I will add this to the post. Thanks for sharing this.

I didn't know usb was supported.

USB-boot has been supported since ISR G1 but the command "boot usbflash0:" is not only hidden but you need to upgrade the router's Bootstrap before you can use the command.  Newer switches, like the 2960X/X, 3650 and 3850, and ISR G2s now support this command.

Again, I have no idea why Cisco still insist or recommending clients using the archaic TFTPDNLD or Xmodem is beyond me.  Heck, booting via USB is not even documented. 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card