How to upload IOS via XModem on a Cisco Switch
Estimated Reading Time: 1 MinutesIf you have a Cisco switch that has a corrupted IOS, you can upload a new version via XModem. Here are the steps.
- Download something like HyperTerminal that support sending files via XModem
- Connect to the console port of the switch using the Cisco console cable and set your baud rate to 9600
- Optional: you may want to "format flash:" to make sure you have enough free space. Note, this will delete your startup-config and any vlan’s you have configured
- Type in "BAUD=115200"
- Disconnect your console session and reconnect with with a baud rate of 115200
- Note: some USB to serial adapters have problems with this. If 115200 doesn’t work, try 57600
- type in "copy xmodem:{Cisco IOS .bin file} flash:{Cisco IOS .bin file}"
- Example: "copy xmodem:c3750e-universalk9-mz.152-4.E2.bin flash:c3750e-universalk9-mz.152-4.E2.bin"
- In your terminal software (HyperTerminal) start sending the file via XModem
- After the upload is done, type in: "BAUD=9600"
- Disconnect your console session and reconnect with with a baud rate of 9600
- Type in "reboot"
This should boot the switch into IOS.
Is it possible to download an IOS from a switch to a PC using xmodem?
https://community.cisco.com/t5/switching/the-system-is-unable-to-boot-automatically-the-boot-environment/td-p/3029142