upgrading IOS on a switch

Unanswered Question
Jun 20th, 2007
User Badges:

I have a switch I want to upgrade the IOS on, I have the IOS image downloaded, and a tftp server running on my PC: can anyone help me with the basic steps to do next in order to upgrade the IOS?


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jagdeep Gambhir Wed, 06/20/2007 - 07:43
User Badges:
  • Red, 2250 points or more

Here are the steps

switch#dir flash:

shows the contents of the directory

switch#delete flash:filename.bin

this will delete the old IOS file

switch#delete flash:html/*

this will delete the old HTML file

switch#dir flash:

Make sure that old image isn't there.

switch#config t

switch(config)#no ip http server


switch#archive tar /xtract tftp://server_ip_address/filename.tar flash:

this copies the new IOS file to the switch

switch#config t

switch(config)#boot system flash:filename.bin

sets the path from which switch will be booted next time

switch(config)#ip http server


switch#wr mem

makes the changes to the switch configuration permanent

switch#show boot

shows which file will be used to boot the switch next time


will restart the switch


dthaker71 Wed, 06/20/2007 - 22:22
User Badges:


please be specific which switch IOS u wnated to upgrade

you can use archieve commands for new swicth upgrade just search with this command on cisco.com and u will get entire reference on that.

ALL the Best

dthaker71 Tue, 05/06/2008 - 01:38
User Badges:


Pls. find the same

System image file is "disk2:c7200p-advsecurityk9-mz.124-15.T4.bin"


Dilip Thaker

Neeraj Arora Wed, 06/27/2007 - 07:22
User Badges:
  • Silver, 250 points or more

You can check the following link:


It has all the information and steps for transfering IOS file as well as additionla info about handling the configs as well

Again you have to be little more specific about the IOS and which switch are you using

One more useful link for IOS upgrade on Cat3550:


Hope it helps


Pravin Phadte Wed, 05/21/2008 - 02:45
User Badges:
  • Silver, 250 points or more

if you have the tftp server as ur pc you should be able to ping your pc from the router.

Also the tftp ports (69) should be allowed and should not be blocked by ACL.

from the switch prompt type

copy tftp: flash:

It will ask you for the file name and the tftp ip address.

provide the full filename with .bin and the ip address of tftp.

should be done.

This might erase your previous ios image on the flash. If it does not u need to change the boot seq on for the switch to boot with the new ios or just del the old ios.


This Discussion