Can't download anything on my Cisco Catalyst 2950 (Ftp freeze and Tftp timeout)

Answered Question
Jun 3rd, 2010

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 :

cisco_err.png

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

Correct Answer by Kuljeet Singh Kohli about 6 years 8 months ago

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:

http://www.cisco.com/en/US/customer/products/hw/switches/ps628/products_configuration_example09186a0080169627.shtml

Kuljeet

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.8 (5 ratings)
Loading.
Leo Laohoo Thu, 06/03/2010 - 15:19

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.

mathieupoussin Thu, 06/03/2010 - 23:46

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...

Kuljeet Singh Kohli Fri, 06/04/2010 - 01:54

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

Leo Laohoo Fri, 06/04/2010 - 02:30

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:///.tar

That's it.

Hope this helps and don't forget to rate useful posts.  Thanks.

mathieupoussin Fri, 06/04/2010 - 03:33

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

Correct Answer
Kuljeet Singh Kohli Fri, 06/04/2010 - 03:59

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:

http://www.cisco.com/en/US/customer/products/hw/switches/ps628/products_configuration_example09186a0080169627.shtml

Kuljeet

glen.grant Fri, 06/04/2010 - 04:43

   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.

Actions

This Discussion

Related Content