08-18-2009 01:20 AM - edited 03-06-2019 07:17 AM
I have a 2950T-24 switch with 12.1.22.EA1 software and 8 MB of flash. I want to upgrade this switch with a new tar file. Following the upgrade guide, I should use the command "archive download-sw" The thing is, this command is not supported on my switch. I tried to delete my image file and then upload the tar file to my flash but still there was not enough space on my flash; I got the following error:
%Error copying flash:/c2950-i6q4l2-tar.121-22.EA13.tar (No space left on device)
How can i upgrade my switch and overwrite the current files and directories?
08-18-2009 01:30 AM
You can remove the files/directories with the following command:-
delete /force /recursive flash:<
Then tftp the .tar file to your flash, and try the command:-
archive tar /xtract flash:<
HTH>
08-18-2009 02:06 AM
Andrew,
Thank you very much. However I did like you told me and after i downloaded the tar image file and used the command "archive tar /xtract flash:c2950-i6q4l2-tar.121-22.EA13.tar flash:" i got the following error message.
"%Error writing flash:/c2950-i6q4l2-mz.121-22.EA13.bin (Not enough space on device)"
My flash shows a total of 7741440 bytes and cco tells me that 8Mbyte is needed. So this is almost enough for this image. Could this be the problem?
08-18-2009 02:08 AM
I am afraid so - have you tried installing the same version of IOS but in a .bin format (without the html files etc) ??
08-18-2009 02:10 AM
Andrew,
No I did not because my cutomer wants to start using the http server in the newer version.
Thanks anyway
08-18-2009 02:12 AM
Ahh OK - you might suggest to your customer, the use the .bin file (as this is smaller) if he wants a gui to configure/manage the switch d/l and install on a pc the Cisco Network Assistant ?
08-18-2009 01:33 AM
Delete the current file or directory and any html files. check filename with a dir flash: If using a .bin file if you just get rid of the html files will allow you to have 2 images in flash.
"delete flash:
If a directory
delete /force /recursive flash:
html files
delete flash:*.html
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