I have yet to do anything with .tar files. What would be the best way to place it on the switch? Do I TFTP the .tar file onto the switch?
Any help woul be great. I have done IOS upgrades on all kinds of sw and rtr's but never seen this the .tar files. Thanks!!
TAR is data compression and archival format
A IOS TAR file contains more files and complicated directory structure - so it would be difficult copy and create directory one by one on switch
Use command archive for downloading and uncompressing IOS file:
switch#archive download-sw tftp:
Hope that helps rate if it does
It does help some what, so I would just leave the file as is, unzipped and go into the switch and dothe following cmd line switch#archive download-sw tftp: (does the image go here?) Thanks for your help I will rate at the end.
Another easier way to do is get the .tar file on a Linux machine and get it decompressed and just upload the .bin file to the Switch.
If you are less comfortable with Linux and more comfortable the MS Windows, you may very well use WinRAR Compression tool and it would be quite helpful.
Please rate all useful posts.
you can use below comand to upgrade switch from .tar file.
archive download-sw /overwrite /reload tftp:[[//location]/directory]/image-name.tar
you can use /leave-sw in place of /overwrite in case you don't won't old IOS to be deleted.
yu can use /reload option if you want to automatically reboot switch once upgrade is done.
refer to this URL to get more information.
hope it helps ... rate if it does ....
When you refer to location, I know this is a dumb question but I am guessing that you mean the location on my local machines drive for exp. the f drive or c drive? And the image being the new IOS duh :). What is the structure? Here is what you suggested,
switch# archive download-sw /overwrite /reload tftp:[[//location]/directory]/image-name.tar
Would mine look like this?
switch# archive download-sw /overwrite /reload tftp:F:\ntcc\Cisco\Ci
Please confirm!!! all the foward slashes are right and what not lol. Thanks a bunch
Nope sorry no access to a linux box at this time. And I have no idea what WinRaR comp tool is.
Here is the error mes. I am getting when trying to do this. I have the .tar file with the IOS on a local machine and I am trying to get it on the switch. I have configured VLAN1 with an ip addr on the same subnet as the machine. Any help???
Switch#archive download-sw tftp:126.96.36.199
Could not buffer tarfile...using multiple downloads
%Error opening tftp:188.8.131.52 (Invalid IP address or hostname)
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid IOS image archive.
You may very well download the WinRAR from the following URL http://www.rarlab.com/
WinRAR is a real cool software for almost all sorts of File Compression requirements.
Please rate all the useful threads,
I feel command will look like this:
switch# archive download-sw /overwrite /reload tftp:c3750-ipbasek9-tar.122-25.SEE2.tar
you dont need to mention c: or F: in location because in your tftp server, you will set the path to c: or f: or directory wihin that drive where you have kept c3750-ipbasek9-tar.122-25.SEE2.tar file.
hope to help ... rate if it does ....
Ok guys for anyone who cares this is how I got it to work: Below is the syntax:
router#archive download-sw /overwrite tftp://(ip of tftp server)/IOS image
This worked for me. Thanks for all the help and comments.
Your command was right on the money!! Thank you very much. The only thing to note was that i had to clear all files out of Flash as I kept getting the error (not enough space in flash).
Use the WEB interface to upgrade the switch it is much easier. Open a browser and put in the switches IP address.. Then press the upgrade tab/button.