How to Troubleshoot the Software Configuration
Recovering from a Software Failure
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 that 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,
see the release notes.
Step 2
Extract the bin file from the tar file. If you are using Windows, use a zip program that can read a tar file. Use the zip
program to navigate. If you are using Windows, use a zip program that can read a tar file. Use the zip program to navigate.
If you are using UNIX, follow these steps:
a) Display the contents of the tar file by using the
tar -tvf
<
image_filename.tar
> UNIX command.
Example:
unix-1%
tar -tvf image_filename.tar
b) Locate the bin file, and extract it by using the
tar -xvf
<
image_filename.tar
> <
image_filename.bin
> UNIX command.
Example:
unix-1%
tar -xvf image_filename.tar image_filename.bin
x c2960x-universalk9-mz-150-2.EX1/c2960x-universalk9-mz-150-2.EX1.bin, 2928176 bytes, 5720
tape blocks
c) Verify that the bin file was extracted by using the
ls -l
<
image_filename.bin
> UNIX command.
Example:
unix-1%
ls -l image_filename.bin
-rw-r--r--
1 boba
2928176 Apr 21 12:01
c2960x-universalk9-mz.150-2.0.66.UCP/c2960x-universalk9-mz.150-2.0.66.UCP.bin
Step 3
Connect your PC with terminal-emulation software supporting the Xmodem Protocol to the switch console port.
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.
Example:
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
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1632
How to Troubleshoot the Software Configuration
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......