06-03-2010 02:02 PM - edited 03-06-2019 11:25 AM
Hello,
I own a Cisco 2950 and I want to download the new firmware on it using TFTP,
So I tried the "copy tftp://192.168.10.11/c2950-i6k2l2q4-mz.121-22.EA13.bin flash:", but when the result is this :
Here are the TFTPD logs:
Connection received from 192.168.10.180 on port 50113 [03/06 22:50:51.187]
Read request for file <c2950-i6k2l2q4-mz.121-22.EA13.bin>. Mode octet [03/06 22:50:51.188]
Using local port 57481 [03/06 22:50:51.188]
Ack block 5914 ignored (received twice) [03/06 22:53:40.161]
Ack block 5922 ignored (received twice) [03/06 22:53:44.767]
Ack block 5930 ignored (received twice) [03/06 22:53:49.366]
Ack block 5938 ignored (received twice) [03/06 22:53:54.071]
Ack block 5946 ignored (received twice) [03/06 22:53:58.787]
Ack block 5954 ignored (received twice) [03/06 22:54:03.568]
Ack block 5962 ignored (received twice) [03/06 22:54:08.286]
Ack block 5970 ignored (received twice) [03/06 22:54:12.909]
Ack block 5978 ignored (received twice) [03/06 22:54:19.974]
Ack block 5986 ignored (received twice) [03/06 22:54:31.429]
TIMEOUT waiting for Ack block #5993 [03/06 22:54:46.451]
(I tried from multiple tftp servers and many different files, it's always the same thing..)
So I tried with FTP.... and again, it don't works (Gets stuck at "Accessing ftp://xxx.xxx.xxx.xxx/myfirmware.bin" (Tried with multiples FTP servers, same thing again), On the FTP server, I can see that it request the file, then abort the connection)
My actual firmware is: c2950-i6q4l2-mz.121-22.EA5.bin
Any idea of what can be the problem or if there is other way to download a firmware ? Looks like the tftpdnld of rommon is not available on this model...
Thank you
Solved! Go to Solution.
06-04-2010 03:59 AM
Mathieu,
The exact command that you would need to use is as follows:
2950#archive tar /xtract tftp://20.20.20.2/c2950-i6q4l2-tar.121-13.EA1.tar flash:
You can refer to the following Cisco document on the software upgrade procedure for Catalyst 2950 series switches:
Kuljeet
06-03-2010 03:19 PM
Can you post the output of the command "dir"? The "O" could mean one of two things: you can either have a very, very slow link from the TFTP server to the switch or you're running out of flash space.
06-03-2010 11:46 PM
Directory of flash:/
2 -rwx 3103308 Mar 01 1993 00:26:55 +00:00 c2950-i6q4l2-mz.121-22.EA5.bin
3 -rwx 676 Apr 18 2007 12:55:41 +00:00 vlan.dat
362 -rwx 1346 Mar 01 1993 00:23:36 +00:00 config.text
6 -rwx 25 Mar 01 1993 00:23:36 +00:00 private-config.text
7 drwx 4032 Mar 01 1993 00:27:39 +00:00 html
19 -rwx 109 Mar 01 1993 00:24:54 +00:00 info
20 -rwx 109 Mar 01 1993 00:28:24 +00:00 info.ver
363 -rwx 1048 Mar 01 1993 00:23:37 +00:00 multiple-fs
7741440 bytes total (3071488 bytes free)
The new ROM is ~3.5MB... But strange, on the other routers, when I don't have enought space, it delete the old files, and not here...
06-04-2010 01:54 AM
Mathieu,
I am not sure if it works like that. In case the available memory is inadequate, the old files need to be manually deleted to make more space. They are not deleted automatically while adding a new file. Can you specify the model number of the 2950 switch that you are using?
Kuljeet Singh Kohli
06-04-2010 02:30 AM
Right-o, you want the files/subdirectory to be automatically deleted?
Ok, here's how it goes.
Firstly, you need the correct IOS file. Particular the file that ends with TAR filename.
Once you have that, the command is: arch download-sw tftp://
That's it.
Hope this helps and don't forget to rate useful posts. Thanks.
06-04-2010 03:33 AM
Oh okay, I have the .tar file that I've extracted the .bin file, I thought that the upgrade could be done using the .bin file directly likes others IOS routers..
I'll try that this afternoon,
thank you
06-04-2010 03:59 AM
Mathieu,
The exact command that you would need to use is as follows:
2950#archive tar /xtract tftp://20.20.20.2/c2950-i6q4l2-tar.121-13.EA1.tar flash:
You can refer to the following Cisco document on the software upgrade procedure for Catalyst 2950 series switches:
Kuljeet
06-04-2010 04:43 AM
It won't go because you do not have enough room in flash , those are the classic symptoms . The "O" is the symptom that it is running out of space in flash to write the file. The 2950 is limited in space. Your option to get 2 images on is just to delete the .html file or directory . This is only used if you use a gui interface . This will give enough room for 2 images otherwise you need to delete the current 2950 image in flash and download the new one . You can upgrade using the .bin , in fact most people use the .bin except maybe on the 3750's . Just delete those .html files and the .bin will load on and you just set your boot statement then.
06-04-2010 11:51 AM
Thanks you, I did this and that works fine !
12-10-2018 04:11 AM
Changed PKTTIMEOUT= 40000 and it worked.
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