First you need to do is download the firmware you want from the Cisco website, after that place it on a USB formatted whit FAT32
If you placed the USB in to the device, and have a SSH or Console session.
Phase 1: The first step is to Login and go to Enable mode
Switch> en
Switch#
*Optional but useful clean out old files by running the following command
install remove inactive
Confirm with y when prompted.
Now Copy the new firmware file to the internal flash memory
copy usbflash0:name-of-image.bin flash:
Now the device is gonna copy the file to the internal storage this might take a little while
After the file is copied you might want to Verify it this is done in 2 steps
Step 1 is there a file, run command
dir flash: | include name-of-image.bin
You now should see an entry in the CLI
Step 2: Verify the MD5 Checksum by running
verify /md5 flash:name-of-image.bin
Ensure it matches the expected checksum. If not, do not proceed.
Phase 2: Activate the installation and reboot the Switched
install add file flash:name-of-image.bin activate commit
Confirm with y when prompted. This may reboot the switch. if not run a reload command
reload
The Update takes about 15-30 minutes depending on the model, if you connected by SSH try is you can set up a connection again. If you. use a Console session you will see the information running on your screen.
After the upgrade is done verify if the version is upgraded properly by running the below command.
show version | include Cisco IOS Software
Phase 3: Cleanup
Remove the old inactive files so the next time you need to upgrade there still is storage space left, run the below command to clean up
install remove inactive
Confirm with y when prompted.
Extra: if there is only 1 device in your stack upgraded you can try to run the below command to force the update on the other switches as well
install autoupgrade
