step01. check current version
# shoe version 或 show boot
step02. check file use state
# shoe flash: 或 dir flash:
step03. temporary Switch IP
> enable
#configure terminal
#interface vlan 1
#ip address 192.168.1.100 255.255.255.0
#no shutdown
step04. client ping switch IP is OK
> ping 192.168.1.100
step05. double check file system free space enough , if not , please delete current IOS
<僅CLI就更新.bin>
# delete c2960-lanbasek9-mz.122-58.SE2.bin
# copy tftp: flash:
<含GUI方式需用.tar更新>
# archive tar /xtract tftp://x.x.x.x/c2960-lanbasek9-tar.122-55.SE12.tar flash:
step06.
# verify flash:c2960-lanbasek9-mz.122-58.SE2.bin
step07 setup next boot IOS
#configure terminal
# boot system flash:c2950-i6k2l2q4-mz.121-22.EA13.bin
or
# boot system flash:/c2960-lanbasek9-tar.122-55.SE12/c2960-lanbasek9-tar.122-55.SE12.bin
step08. save
# write memory 或 copy running-config startup-config
step09. reboot
# reload
step10. final check version
# show version 或 show boot
Reference:
1.CCIE or Null! – Using the CLI to install and IOS in .tar format.
2.CiscoZine – How to upgrade a Cisco stack
3.Original Cisco Factory upgrade website
4.51CTO博客 – 一次不成功的思科2960S交换机的IOS升级