Difference between revisions of "Upgrading IOS Version"
From Peter Pap's Technowiki
Line 14: | Line 14: | ||
3. If there is room, leave the old image in place. <font color=red>'''OPTIONAL and DANGEROUS'''</font> Otherwise do: | 3. If there is room, leave the old image in place. <font color=red>'''OPTIONAL and DANGEROUS'''</font> Otherwise do: | ||
− | switch# delete | + | switch# delete flash:imagename |
4. Upload the new flashimage | 4. Upload the new flashimage |
Revision as of 02:47, 23 November 2011
You will need a tftp server on which to put the latest IOS version and to which to can backup the old one. A Windows based one is easy [1]. This assumes that the switch already has an IP set, otherwise follow this link [2].
1. Determine the boot image on the switch:
switch# show flash
2. Backup the flash image to the tftp server
switch# copy flash:flashimagename tftp://192.168.X.X/flashimagename
where 192.168.X.X is the IP address of the TFTP server.
3. If there is room, leave the old image in place. OPTIONAL and DANGEROUS Otherwise do:
switch# delete flash:imagename
4. Upload the new flashimage
switch# copy tftp://192.168.X.X/newflashimage flash:newflashimage
5. Make the new image the boot image and reboot
switch# config t switch(config)# no boot system flash:oldflashimage switch(config)# boot system flash:newflashimage switch(config)# exit switch# wr mem
6. Reboot the switch
switch# reload