upgrading IOS on a switch

Unanswered Question
Jun 20th, 2007

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?

Thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jagdeep Gambhir Wed, 06/20/2007 - 07:43

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(config)#end

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(config)#end

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

switch#reload

will restart the switch

Regards,

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

Hi,

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

Hi

Pls. find the same

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

Rgds,

Dilip Thaker

Neeraj Arora Wed, 06/27/2007 - 07:22

You can check the following link:

http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/12113ea1/3550scg/swiosfs.htm

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:

http://www.cisco.com/warp/public/473/190.html

Hope it helps

Neeraj

Pravin Phadte Wed, 05/21/2008 - 02:45

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.

Actions

This Discussion