cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4646
Views
5
Helpful
22
Replies

Upgrading IOS

cgarst321
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

22 Replies 22

lamav
Level 8
Level 8

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
Hall of Fame
Hall of Fame

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.

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!

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

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
Hall of Fame
Hall of Fame

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

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

You can upgrade the IOS from the VSM utility and the command to view the IOS in flash is dir flash:.

For more information, please refer to the documentation:

http://www.cisco.com/en/US/docs/switches/lan/catalyst2900xl_3500xl/releasesa6/scg/kiconfig.html#wp14618

HTH,

__

Edison.

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)

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?

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.

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?

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.

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?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco