04-04-2008 03:30 AM - edited 03-05-2019 10:11 PM
Dear All,
I have 3750 switch which has IOS currupted. I had tried to resolve it but it cann't.
No option for xmodem: is there.
I got the error :
Error loading "flash:update/c3750-i9-mz.122-20.SE4/c3750-i9-mz.122-20.SE4.bin"
switch: dir flash:
Directory of flash:/
2 drwx 64 <date> update
90 -rwx 27 <date> private-config.text
92 -rwx 1854 <date> config.text
12100096 bytes available (3898880 bytes
switch: dir flash:/update
Directory of flash:/update/
3 drwx 64 <date> c3750-ipbase-mz.122-25.SEB1
12100096 bytes available (3898880 bytes used)
Pls give me the solution
Solved! Go to Solution.
04-08-2008 05:14 AM
Step 4 Set the line speed on the emulation software to 9600 baud.
Step 5 Unplug the switch power cord.
Step 6 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 along 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
load_helper
boot
Step 7 Initialize the flash file system:
switch: flash_init
Step 8 If you had set the console port speed to anything other than 9600, it has been reset to that particular speed. Change the emulation software line speed to match that of the switch console port.
Step 9 Load any helper files:
switch: load_helper
Step 10 Start the file transfer by using the XMODEM protocol.
switch: copy xmodem: flash:image_filename.bin
Step 11 After the XMODEM request appears, use the appropriate command on the terminal-emulation software to start the transfer and to copy the software image into flash memory.
Step 12 Boot the newly downloaded Cisco IOS image.
switch:boot flash:image_filename.bin
Step 13 Use the archive download-sw privileged EXEC command to download the software image to the switch or to the switch stack.
Step 14 Use the reload privileged EXEC command to restart the switch and to verify that the new software image is operating properly.
Step 15 Delete the flash:image_filename.bin file from the switch.
Thanks,
Satish
04-04-2008 04:49 AM
Dipesh
Your switch is attempting to load its image from a subdirectory of the update directory called c3750-i9-mz.122-20.SE4. But that subdirectory does not exist and the attempt to load fails. There appears to be a subdirectory called c3750-ipbase-mz.122-25.SEB1 which probably contains an image file named c3750-ipbase-mz.122-25.SEB1.bin. It looks like you did a code upgrade from 12.2(20) to 12.2(25) but did not change the boot statement. If you change the boot statement to use the new file the switch should boot ok.
HTH
Rick
04-05-2008 02:44 AM
Dear Rick,
I have changed the boot statement also. But the same problem ariese.
i had tried to change IOS using XMODEM: method but there are no cmds supported in this SW.
04-05-2008 11:16 AM
Dipesh
What did the new boot statement say?
It would be helpful to post the console messages when you tried to boot with the new boot statement so that we may be able to identify the problem and see if the symptoms have changed at all.
It might also be helpful to do the command switch: dir flash:/update and if it identifies a directory then do switch: dir flash:/update/
HTH
Rick
04-07-2008 10:08 PM
04-08-2008 04:59 AM
Dipesh
The output that you posted does show what you have done. And it clearly shows that you eventually get to the image file. It shows the switch attempting to load the file and the load fails. Unfortunately it does not indicate the cause of the failure.
I checked that image with the Feature Navigator which shows that this image requires 128 MB of RAM and 16 MB of flash. Can you verify whether the switch has this much memory?
HTH
Rick
04-08-2008 05:14 AM
Hi Patel ,
below is the procedure for loading IOS using xmodem on 3750 switches.
follow the below steps.
Recovering from Corrupted Software By Using the XMODEM Protocol
Switch software can be corrupted during an upgrade, by downloading the wrong file to the switch, and by deleting the image file. In all of these cases, the switch does not pass the power-on self-test (POST), and there is no connectivity.
This procedure uses the XMODEM Protocol to recover from a corrupt or wrong image file. There are many software packages that support the XMODEM Protocol, and this procedure is largely dependent on the emulation software you are using.
This recovery procedure requires that you have physical access to the switch.
--------------------------------------------------------------------------------
Step 1 From your PC, download the software image tar file (image_filename.tar) from Cisco.com.
The Cisco IOS image is stored as a bin file in a directory in the tar file. For information about locating the software image files on Cisco.com, refer to the release notes.
Step 2 Extract the bin file from the tar file.
â¢If you are using Windows, use a zip program that is capable of reading a tar file. Use the zip program to navigate to and extract the bin file.
â¢If you are using UNIX, follow these steps:
1. Display the contents of the tar file by using the tar -tvf
switch% tar -tvf image_filename.tar
drwxr-xr-x 9658/25 0 Apr 21 13:20 2003 c3750-i5-mz.121.11-AX/
drwxr-xr-x 9658/25 0 Apr 18 18:31 2003 c3750-i5-mz.121.11-AX/html/
-rw-r--r-- 9658/25 4005 Apr 18 15:56 2003
c3750-i5-mz.121.11-AX/html/homepage.htm
-rw-r--r-- 9658/25 1392 Apr 18 15:56 2003
c3750-i5-mz.121.11-AX/html/not_supported.html
-rw-r--r-- 9658/25 9448 Apr 18 15:56 2003 c3750-i5-mz.121.11-AX/html/common.js
-rw-r--r-- 9658/25 22152 Apr 18 15:56 2003
c3750-i5-mz.121.11-AX/html/cms_splash.gif
-rw-r--r-- 9658/25 1211 Apr 18 15:56 2003
c3750-i5-mz.121.11-AX/html/cms_13.html
-rw-r--r-- 9658/25 2823 Apr 18 15:56 2003
c3750-i5-mz.121.11-AX/html/cluster.html
-rw-r--r-- 9658/25 4195 Apr 18 15:56 2003
c3750-i5-mz.121.11-AX/html/Redirect.jar
-rw-r--r-- 9658/25 14984 Apr 18 15:56 2003
c3750-i5-mz.121.11-AX/html/mono_disc.sgz
-rw-r--r-- 9658/25 1329516 Apr 18 15:56 2003 c3750-i5-mz.121.11-AX/html/CMS.sgz
-rw-r--r-- 9658/25 140105 Apr 18 15:56 2003 c3750-i5-mz.121.11-AX/html/images.sgz
-rw-r--r-- 9658/25 213848 Apr 18 15:56 2003 c3750-i5-mz.121.11-AX/html/help.sgz
-rw-r--r-- 9658/25 135599 Apr 18 15:56 2003
c3750-i5-mz.121.11-AX/html/CiscoChartPanel.sgz
-rwxr-xr-x 9658/25 58860 Apr 18 18:31 2003
c3750-i5-mz.121.11-AX/html/cms_boot.jar
-rw-r--r-- 9658/25 3970586 Apr 21 12:00 2003
c3750-i5-mz.121.11-AX/c3750-i5-mz.121.11-AX.bin
-rw-r--r-- 9658/25 391 Apr 21 13:20 2003 c3750-i5-mz.121.11-AX/info
-rw-r--r-- 9658/25 98 Apr 18 16:46 2003 info
2. Locate the bin file and extract it by using the tar -xvf
switch% tar -xvf image_filename.tar image_filename.bin
x c3750-i5-mz.121.11-AX/c3750-i5-mz.121.11-AX.bin, 3970586 bytes, 7756 tape blocks
3. Verify that the bin file was extracted by using the ls -l
switch% ls -l image_filename.bin
-rw-r--r-- 1 boba 3970586 Apr 21 12:00
c3750-i5-mz.121.11-AX/c3750-i5-mz.121.11-AX.bin
Step 3 Connect your PC with terminal-emulation software supporting the XMODEM Protocol to the switch console port.
04-08-2008 05:14 AM
Step 4 Set the line speed on the emulation software to 9600 baud.
Step 5 Unplug the switch power cord.
Step 6 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 along 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
load_helper
boot
Step 7 Initialize the flash file system:
switch: flash_init
Step 8 If you had set the console port speed to anything other than 9600, it has been reset to that particular speed. Change the emulation software line speed to match that of the switch console port.
Step 9 Load any helper files:
switch: load_helper
Step 10 Start the file transfer by using the XMODEM protocol.
switch: copy xmodem: flash:image_filename.bin
Step 11 After the XMODEM request appears, use the appropriate command on the terminal-emulation software to start the transfer and to copy the software image into flash memory.
Step 12 Boot the newly downloaded Cisco IOS image.
switch:boot flash:image_filename.bin
Step 13 Use the archive download-sw privileged EXEC command to download the software image to the switch or to the switch stack.
Step 14 Use the reload privileged EXEC command to restart the switch and to verify that the new software image is operating properly.
Step 15 Delete the flash:image_filename.bin file from the switch.
Thanks,
Satish
04-09-2008 07:33 PM
Dear All,
Thanks for help.
The problem is resolved now.
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