cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
965
Views
0
Helpful
5
Replies

upgrading IOS on a switch

cisco-pix
Level 1
Level 1

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

5 Replies 5

Jagdeep Gambhir
Level 10
Level 10

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
Level 1
Level 1

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

Hi

Pls. find the same

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

Rgds,

Dilip Thaker

Neeraj Arora
Level 3
Level 3

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: