cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4613
Views
0
Helpful
10
Replies

Error Times out while upgrading IOS from TFTP

mahesh18
Level 6
Level 6

                   Hi Everyone,

I am trying to copy IOS from unix box to 3750 switch

archive tar /xtract tftp://192.168.1.5/c3750-ipserviceslmk9-tar.122-55.SE7.tar flash:

%Error opening tftp://192.168.1.5/c3750-ipserviceslmk9-tar.122-55.SE7.tar (Timed out)

i get error

i can ping the unix box from the switch.

Here is switch flash info

sh flash

Directory of flash:/

    2  -rwx        6484   Mar 1 1993 00:02:53 +00:00  vlan.dat
    4  -rwx        1929   Feb 4 2013 22:59:34 +00:00  private-config.text
    5  drwx         128  Jun 22 1993 16:14:21 +00:00  c3750-ipservices-mz.122-25.SEE2
  458  -rwx       20848   Feb 4 2013 22:59:34 +00:00  config.text
    6  drwx          64  Jun 22 1993 16:21:05 +00:00  c3750-ipservicesk9-mz.122-35.SE2
  460  -rwx       12961   Mar 1 1993 00:05:47 +00:00  config.text.bak
  461  -rwx        3096   Feb 4 2013 22:59:34 +00:00  multiple-fs

15998976 bytes total (5166592 bytes free)

Thanks

Mahesh

1 Accepted Solution

Accepted Solutions

Hi Mahesh,

The "archive download-sw /overwrite /force-reload" is usually used when the switches are stacked.  You apply this command and all the switches in the stack will be upgraded and when the upgrade is done, the stack will be also reloaded.

Basically, this is an automation command, so you don't have to go to every single switch to upgrade them.  You just use this command.  But if you switches are not stacked, then you can use the .bin command.

should we config the boot system flash: command or system automatically boots with new Image?

I my case i config the boot system flash: and switch rebooted with  new ios in flash.

If you have multiple IOS images on the flash (like in your case) you want to add the boot system command so it boots from the IOS you want, if not it will load the first IOS on the flash.  If your system is already booted with the new image, then you can simply delete all the old IOS image and free up the flash.

HTH

Reza

View solution in original post

10 Replies 10

Andras Dosztal
Level 3
Level 3

Can you download that file using your computer?


Sent from Cisco Technical Support Android App

Hi,

Do you mean i should transfer using tftp32 from pc?

thanks

mahesh

Reza Sharifi
Hall of Fame
Hall of Fame

Hi Mahesh,

You can just copy the file from the TFTP server into the switch and then set your boot variable and reboot the switch.

copy tftp flash:

Or you can try using the "archive download-sw tftp...... to load the file to the switch.

Please be aware that .tar file is usually used when the switches are stacked. and .bin is used when the switches are not stacked.

HTH

Reza

Hi Reza,

i tried command

archive download-sw /leave-old-sw  tftp://x.x.x.x//temp1/Images/c3750-ipserviceslmk9-tar.122-55.SE7.tar

IOS is on unix server  and folder is temp1/Images/c3750-ipserviceslmk9-tar.122-55.SE7.tar

where x.x.x.x is IP of unix box

5//temp1/Images/c3750-ipserviceslmk9-tar.122-55.SE7.tar

Could not buffer tarfile...using multiple downloads

examining image...

%Error opening tftp://172.16.3.5//temp1/Images/c3750-ipserviceslmk9-tar.122-55.SE7.tar (Timed out)

%Error opening flash:update/info (No such file or directory)

thanks

mahesh

Hi Mahesh,

Can you just try "copy tftp: flash .....

Reza

Hi Reza,

I tried

copy tftp flash:

Address or name of remote host []? x.x.x.x

Source filename []? c3750-ipserviceslmk9-tar.122-55.SE7.tar

Destination filename [c3750-ipserviceslmk9-tar.122-55.SE7.tar]?

Accessing tftp://x.x.x.x/c3750-ipserviceslmk9-tar.122-55.SE7.tar...

%Error opening tftp://x.x.x.x/c3750-ipserviceslmk9-tar.122-55.SE7.tar (Timed out)

Mahesh

Hi Reza,

My bad i came to know Unix box only supports FTP and i was able to upgrade the IOS using FTP.

Need to confirm when we use the command

archive download-sw /overwrite /force-reload

should we config the boot system flash: command or system automatically boots with new Image?

I my case i config the boot system flash: and switch rebooted with  new ios in flash.

Thanks

Mahesh

Hi Mahesh,

The "archive download-sw /overwrite /force-reload" is usually used when the switches are stacked.  You apply this command and all the switches in the stack will be upgraded and when the upgrade is done, the stack will be also reloaded.

Basically, this is an automation command, so you don't have to go to every single switch to upgrade them.  You just use this command.  But if you switches are not stacked, then you can use the .bin command.

should we config the boot system flash: command or system automatically boots with new Image?

I my case i config the boot system flash: and switch rebooted with  new ios in flash.

If you have multiple IOS images on the flash (like in your case) you want to add the boot system command so it boots from the IOS you want, if not it will load the first IOS on the flash.  If your system is already booted with the new image, then you can simply delete all the old IOS image and free up the flash.

HTH

Reza

Hi Reza,

Many thanks for detailed explanation.

Today learned upgrading IOS with FTP.

I only did  upgrade to single switch not stack and i used tar image

Regards

Mahesh

Hi Mahesh,

You are very welcome.

I should have mentioned that although tar file is usually for stacked switches, but it also works on non-stacked switches.

Please be aware if you are using 3750X series switches, Cisco has made our life a little easier by adding a USB port to the back of the switch.  So, all you have to do is to insert a USB in your laptop/PC, copy the IOS from your PC to it and then insert the USB into the switch and copy the IOS image from the USB to flash and reboot.  No more need for FTP, TFTP, etc...

The only issue I have seen is not all USB flash drives work with Cisco switches, but most do.

HTH

Reza