Switch IOS Image Upgrade

General Information

This method uses a better way than TFTP to move images to the target device.


  • SSH/SCP agent installed. (Putty or other OS package)

1) Enable SCP on target device.

ip scp server enable

2) From PC, scp image to switch.

On Windows, with putty's pscp:

pscp -scp C:\new-image.bin username@switchname:new-image.bin

3) On the switch, set new IOS as primary boot, old as secondary.

conf t
boot system flash:/new-image.bin;flash:/old-image.bin

4) Save config, reload

copy run start

5) Once verified that switch boots to new ios and no bugs occur, feel free to delete the old image.

sh version
delete flash:/old-image.bin
  • networking_wiki/upgrade_images.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)