Upgrading IOS

Answered Question
Apr 10th, 2009
User Badges:

Hello! I'm just starting to work with Cisco switches in my IT career. I have an old Catalyst 2916XL M switch that I'm using to learn about IOS. I received this switch with IOS 11.2, but I'd like to get it up to 12. I'm snagged a little bit, I'm hoping someone can point me in the right direction!


I have found this image on Cisco's website: c2900xl-c3h2l9s-mz.120-5.WC17.bin


I'm trying to download it on the switch using the following command:

"copy tftp: flash:"


It starts downloading, but eventually I get "Transfer aborted"

Loading c2900xl-c3h2l9s-mz.120-5.WC17.bin from 192.168.1.201 (via VLAN1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!O!O!O!

%Error reading tftp://192.168.1.201/c2900xl-c3h2l9s-mz.120-5.WC17.bin (Transfer aborted)


Tftpd32, my TFTP server app, tells me this:

Peer returns ERROR <Session terminated> -> aborting transfer [10/04 20:38:01.793]



What could be the problem? Could I not have enough flash memory space (how would I check)?


Thank you!!

Correct Answer by Edison Ortiz about 8 years 2 months ago

Leo,


4MB Flash, very common.

2MB Flash (what he has), not so common.


Deleting the HTML folder won't help. If you see the total and available bytes on the filesystem determines he only has 2MB Flash and the show version reflects he only has 4MB RAM.


The IOS requirement for 12.0 are 8MB DRAM and 4MB Flash.


He has the earlier version of the 2900XL switch and must remain in the 11.x train.


__


Edison.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
lamav Fri, 04/10/2009 - 18:06
User Badges:
  • Blue, 1500 points or more

Please execute a "sh ver" and post the output.


You can also do a "sh flash:"


What is the size of that .bin file?


Victor

Leo Laohoo Fri, 04/10/2009 - 19:31
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Can you do a "dir" in enable mode. I'm suspecting you don't have enough flash space for two IOS ... I think this model only has 4Mb of flash.


As per what Victor was asking you, do a "sh version" to verify.

cgarst321 Sat, 04/11/2009 - 10:00
User Badges:

c2900xl-c3h2l9s-mz.120-5.WC17.bin is 1,885 KB


Here are the commands:


Switch#sh ver

Cisco Internetwork Operating System Software

IOS (tm) C2900XL Software (C2900XL-HS-M), Version 11.2(8)SA5, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-1999 by cisco Systems, Inc.

Compiled Tue 23-Mar-99 11:44 by rheaton

Image text-base: 0x00003000, data-base: 0x001FAEF8


ROM: Bootstrap program is C2900XL boot loader


Switch uptime is 11 minutes

System restarted by power-on

System image file is "flash:c2900XL-hs-mz-112.8-SA5.bin", booted via



cisco WS-C2916M-XL (PowerPC403GA) processor (revision 0x11) with 4096K/640K bytes of memory.

Processor board ID 0x06, with hardware revision 0x00

Last reset from power-on


Processor is running Enterprise Edition Software

16 Ethernet/IEEE 802.3 interface(s)


32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:90:F2:37:0E:40

Motherboard assembly number: 73-2193-08

Motherboard serial number: FAA02243150

System serial number: FAA0228U078

Configuration register is 0xF


Switch#show flash

^

% Invalid input detected at '^' marker.


Switch#dir


The last two commands don't seem to be recognized. Thanks for the responses!


Leo Laohoo Sun, 04/12/2009 - 00:19
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Nuts! I've never seen this OLD IOS before. Try "sh flash:" (don't forget the colon).

cgarst321 Sun, 04/12/2009 - 11:20
User Badges:

Nope..


Switch#sh flash:

^

% Invalid input detected at '^' marker.




In sh version, it does say "cisco WS-C2916M-XL (PowerPC403GA) processor (revision 0x11) with 4096K/640K bytes of memory." Would that indicate 4MB of nonvolatile memory? The new bin is only 1.8MB.

Leo Laohoo Sun, 04/12/2009 - 16:42
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Double nuts! Can you try to HTML into the switch?

cgarst321 Sun, 04/12/2009 - 16:48
User Badges:

Yessir I can access the HTML interface. Attached are screenshots of what the main page and "Visual Switch Manager" look like.



Attachment: 
cgarst321 Mon, 04/13/2009 - 17:15
User Badges:

Thanks!


Here's the dir flash:


Switch#dir flash:

Directory of flash:


2 -rwx 859 Mar 01 1993 01:32:54 config.text

3 -rwx 1077215 Mar 01 1993 00:15:46 c2900XL-hs-mz-112.8-SA5.bin

4 drwx 10944 Mar 01 1993 00:29:21 html

66 -rwx 4388 Mar 01 1993 01:08:41 vlan.dat

178 -rwx 185 Jan 01 1970 02:31:54 env_vars


1728000 bytes total (204800 bytes free)


cgarst321 Mon, 04/13/2009 - 17:59
User Badges:

That link gave me some information that helped. Apparently the web interface doesn't work right in Firefox or Safari, so I had to fire up IE6 in crossover to get the drop down menus to show up. I found this in system.html


Available Flash Memory: 204800 bytes

Total Flash Memory: 1728000 bytes


So it sounds like I don't have enough flash memory. 17.27MB when the bin itself is 18.5MB.. Is this cheaply upgradeable?

Leo Laohoo Tue, 04/14/2009 - 01:40
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Users who have experience with the 2900XL knows that there is enough flash memory for ONE (1) IOS.


Until you finalize the command to upgrade the IOS, you can delete the old one and copy the new one in.

cgarst321 Tue, 04/14/2009 - 03:53
User Badges:

It sounds like the latest one may be too big even for that. The web interface listed 1728000 bytes total in the flash, while c2900xl-c3h2l9s-mz.120-5.WC17.bin is 1929757 bytes.


Could this be right? Do C2900xls come with various flash sizes?

Edison Ortiz Tue, 04/14/2009 - 05:28
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Corey,


You are going from a basic IOS to a LRE IOS, your license agreement does not allow you to do so.


Please download this file instead:

c2900xl-c3h2s-tar.120-5.WC17.tar

or

c2900xl-c3h2s-mz.120-5.WC17.bin

Which is the corresponding version to the one you have installed now.


Please read the link I provided for the upgrade. During the upgrade process, the IOS will prompt you to delete your current image in order to copy the new image.


__


Edison.

cgarst321 Wed, 04/15/2009 - 13:04
User Badges:

Thanks for the info.


I'm following the CLI documentation, take a look at this:


Switch#dir flash:

Directory of flash:


4 drwx 0 Mar 01 1993 00:13:27 html

66 -rwx 4388 Mar 01 1993 01:08:41 vlan.dat

67 -rwx 957 Mar 01 1993 01:14:28 config.text

178 -rwx 185 Jan 01 1970 02:31:54 env_vars


1728000 bytes total (1720832 bytes free)

Switch#tar /x tftp://192.168.1.111/c2900xl-c3h2s-tar.120-5.WC17.tar flash:

Loading c2900xl-c3h2s-tar.120-5.WC17.tar from 192.168.1.111 (via VLAN1): !

extracting c2900xl-c3h2s-mz.120-5.WC17.bin (1811903 bytes)

%Error writing flash:/c2900xl-c3h2s-mz.120-5.WC17.bin (Not enough space on device)

Switch#copy tftp flash:

Source IP address or hostname []? 192.168.1.111

Source filename []? c2900xl-c3h2s-mz.120-5.WC17.bin

Destination filename [c2900xl-c3h2s-mz.120-5.WC17.bin]?

Loading c2900xl-c3h2s-mz.120-5.WC17.bin from 192.168.1.111 (via VLAN1): !!!!.!!!!!!.!!!!!!!!!!!!!.!!!!!!!.!.!!.!!!!!!!!!.!.!!!!!.!!!!!!!!!!!!!.!.!!.!.!!!!.!!!!!!.!.!!!!!!!!!!!!!!.!!!!!!!!!!!.O.!!!!!!!.!!!!!!!!.!!!!.!!!!!.!.!!!!!!!!.!!!.!!!!!!!.!!!!!!.!!.!!!!!!!!!!.!.!!!!!!!!!!!!!!!!!!!.!!!!!!!!!.!.!!.!!!!.!.!!!!!!!.!!!!!!!!.!!.!!!!.O.!!!!.!!!!!!!!.!.!.!!!!.!.!!.!!!!!!!!!!!!!.!.!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!.!.!!!!!!!!!!!!!!!!!!.!!!!!!!.!!!!.!!!!!!!!!!!!.!!!!!!!!!.!!!!!.!!!!!.!!!.!!!.!.!!!!!.!!!!!!!!OO.!OO!OO!O!OO

%Error reading tftp://192.168.1.111/c2900xl-c3h2s-mz.120-5.WC17.bin (Transfer aborted)


So it does look like I have 1728000 bytes total and c2900xl-c3h2s-mz.120-5.WC17.bin is 1811903.

Where can I get another copy of c2900XL-hs-mz-112.8-SA5.bin to flash back onto the switch?

Edison Ortiz Wed, 04/15/2009 - 13:28
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Hmm..


You've shown before:


cisco WS-C2916M-XL (PowerPC403GA) processor (revision 0x11) with 4096K/640K bytes of memory.


and


1728000 bytes total (1720832 bytes free)


__


Per IOS requirement, your switch should be 8MB DRAM - 4MB FLASH, but your output indicates 4MB DRAM - 2MB FLASH, that's odd.



__


You didn't backup the IOS prior deleting? ugh - check your gmail address for a link to an IOS similar to the one you had before.


__


Edison.

Edison Ortiz Wed, 04/15/2009 - 13:34
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

BTW, you can download the file I published for you (information sent to your gmail account) or you can donwload the file from this link:


http://www.cisco.com/pcgi-bin/tablebuild.pl/cat2900XL-4MB


It seems you have the original 2900XL which max out to 4MB DRAM - 2MB Flash and you can't upgrade to the latest 12.0 IOS.


__


Edison.

Leo Laohoo Wed, 04/15/2009 - 14:31
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Hi Edison,

This is indeed wierd. I have heard of a 2900 model with 4Mb flash but this is the first time I've seen this.


Did he try to delete the files in the HTML folder prior to using the "archive" command?

Correct Answer
Edison Ortiz Wed, 04/15/2009 - 16:28
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Leo,


4MB Flash, very common.

2MB Flash (what he has), not so common.


Deleting the HTML folder won't help. If you see the total and available bytes on the filesystem determines he only has 2MB Flash and the show version reflects he only has 4MB RAM.


The IOS requirement for 12.0 are 8MB DRAM and 4MB Flash.


He has the earlier version of the 2900XL switch and must remain in the 11.x train.


__


Edison.

cgarst321 Wed, 04/15/2009 - 16:38
User Badges:

Thank you all very much for the assistance. I'll try to get a newer 11.x on there later tonight, but now that I know how to find my flash size limit I'll be much better off.


Out of curiosity, what happens to a Cisco device if it looses power while there is no bin in the flash? Is it bricked?

cgarst321 Wed, 04/15/2009 - 17:44
User Badges:

I have successfully loaded c2900XL-hs-mz-112.8.11-SA6.tar, which I believe is the newest version that this device will support. Thanks all!

Leo Laohoo Wed, 04/15/2009 - 17:46
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

It will go into ROMmon mode. You can still pump an IOS into it but it's very slow.

Actions

This Discussion