02-05-2013 07:33 AM - edited 03-07-2019 11:31 AM
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
Solved! Go to Solution.
02-05-2013 01:34 PM
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
02-05-2013 09:11 AM
Can you download that file using your computer?
Sent from Cisco Technical Support Android App
02-05-2013 10:03 AM
Hi,
Do you mean i should transfer using tftp32 from pc?
thanks
mahesh
02-05-2013 10:27 AM
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
02-05-2013 10:40 AM
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
02-05-2013 10:45 AM
Hi Mahesh,
Can you just try "copy tftp: flash .....
Reza
02-05-2013 10:53 AM
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
02-05-2013 01:08 PM
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
02-05-2013 01:34 PM
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
02-05-2013 01:55 PM
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
02-05-2013 02:18 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide