10-05-2012 03:09 AM - edited 03-07-2019 09:17 AM
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
10-05-2012 04:25 AM
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
Refer:
Regards,
Aru
*** Please rate if the post useful ***
10-05-2012 04:41 AM
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.
10-05-2012 05:31 AM
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
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
switch: flash_init
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
switch: copy tftp://ip_address/filesystem:/source-file-url flash:image_filename.bin
switch: boot flash:image_filename.bin
Refer:
Regards,
Aru
*** Please rate if the post is useful ***
08-23-2013 08:03 AM
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
08-23-2013 08:51 PM
Hi Gil,
Go here.
12-08-2013 11:53 AM
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.
12-08-2013 12:40 PM
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.
This process is NOT found in Cisco documentation. I have no idea why.
12-08-2013 12:47 PM
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.
12-08-2013 12:53 PM
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.
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