Cisco Switch IOS Recovery:
In this post, we will learn how to Recover a Cisco Switch Currupted IOS Using XMODEM.Prerequisite:
- Console Cable
- Direct Access to the switch
- Windows machine to run the Tera Term software
- Compatible Cisco IOS image for your device
Procedure:
Connect your console cable to the Windows machine and console port of the Cisco switch. This needs to be direct and not via any terminal servers, Open Tera Term and connect to the serial port of the switch. With the switch powered-on you should be presented with the following syntax:
Switch:
Initalize your switches flash by entering the following command. Some switches will already have this enabled and you will be notified of the result once you’ve pressed enter.
flash_init
dir flash:
set BAUD 115200
copy xmodem: flash:c2960-lanbasek9-mz.122-55.SE12.bin
If you getting any error while sending image, Kindly format the flash using
format flash:
However this will delete your start-up configuration!!!
unset BAUD 115200
set BAUD 9600
Also set the BAUD 9600 in TeraTerm to access the console
lets Boot into your new image.boot flash:c2960-lanbasek9-mz.122-55.SE12.bin
write