enable
copy tftp:://192/168.1.150c3750-o[\\ipservices9-mz.150-2.SE2.bin bootflash:/
conf t
boot system flash bootflash:cat4500-entservices9-mz.150-2.SG11
config-register 0x2102
exit
wr mem
reload
enable
copy tftp://192.168.1.210/switch-confg startup-config
reload
Resource:
https://www.thegeekstuff.com/2011/06/upgrade-cisco-ios-image/