Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Upgrading IOS on 2900 switches

Hi,

I need to upgrade the IOS on 2900 switches but when I tried this on one switch, there wasnt space in flash I think so this failed. This procedure seems to be different to the routers. I dont quite understand where the IOS is stored and what I need to do to upgrade here. Can someone point me in the right direction.

Below is what I did with the results and "sh ver". On the routers, the IOS is usually uploaded from flash into dram at bootup and then executed. How do the switches work?. Thanks..

witch#copy tftp flash

Address or name of remote host []? 172.16.3.3

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

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

Accessing tftp://172.16.3.3/c2900xl-c3h2s-mz.120-5.WC3.bin...

Loading c2900xl-c3h2s-mz.120-5.WC3.bin from 172.16.3.3 (via VLAN1): !!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!OO!OOOO!!!!!!!!OOO!

%Error writing flash:/c2900xl-c3h2s-mz.120-5.WC3.bin (No space left on device)

Switch#sh ver

Cisco Internetwork Operating System Software

IOS (tm) C2900XL Software (C2900XL-H2-M), Version 12.0(5.1)XP, MAINTENANCE INTER

IM SOFTWARE

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

Compiled Fri 10-Dec-99 11:00 by cchang

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

ROM: Bootstrap program is C2900XL boot loader

Switch uptime is 6 minutes

System returned to ROM by power-on

System image file is "flash:c2900XL-h2-mz-120.5.1-XP.bin"

cisco WS-C2924C-XL (PowerPC403GA) processor (revision 0x11) with 8192K/1024K byt

es of memory.

Processor board ID 0x0F, with hardware revision 0x01

Last reset from power-on

Processor is running Standard Edition Software

Cluster member switch capable

24 FastEthernet/IEEE 802.3 interface(s)

  • Other Network Infrastructure Subjects
9 REPLIES
New Member

Re: Upgrading IOS on 2900 switches

I have had the same problem. What I do is I first delete all of the files in flash, then push my new ios in, then I rewrite the configuration and reboot the switch

New Member

Re: Upgrading IOS on 2900 switches

How do I delete the files in flash? What commands are required?.

New Member

Re: Upgrading IOS on 2900 switches

Hi

Thanks for your advice... Ive sorted it now .. just the way you said.

Regards

New Member

Re: Upgrading IOS on 2900 switches

Hi

One thing I overlooked.. when I delete flash, I deleted this lot

Directory of flash:/

2 -rwx 1490614 Dec 10 1999 19:12:29 c2900XL-h2s-mz-120.5.1-XP.bin

3 -rwx 102893 Dec 10 1999 19:12:29 c2900XL-diag-mz-120.5.1-XP

4 drwx 11072 Dec 10 1999 19:12:29 html

179 -rwx 263 Jan 01 1970 00:00:18 env_vars

181 -rwx 2574 Jun 23 1994 04:55:54 config.text

and then just reloaded the new IOS

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

but this screwed up the html browsing facility. Is there anyway around this.. can I just delete the old IOS image and restore the new one. I dont know how i would do this as I only know of the option to erase flash to make room for the new image. Please advise.

Thanks.

New Member

Re: Upgrading IOS on 2900 switches

I am having a similar problem. I have just been given a 2924 XL that has had the flash wiped. Now when the system tries to boot it fails to find the boot files necessary to load the IOS. I can access the ROM interface and the Flash has a Lost/Found File and the .BIN file. I can't get the system to boot to even an empty configuration.

So, Any ideas? Will I have to load a new IOS image off a TFTP server? If I do have to load off the TFTP server how can I do this with an inactive config? Sorry... I am just in a bit of a bind. Any help would be greatly appreciated.

Thanks

New Member

Re: Upgrading IOS on 2900 switches

ok, there are 2 versions of the flash file: ***.mz.120-5... and ***.tar.120-5*** the "tar" file contains the html as well as CMS. The way you tftp is different. ex)Switch#tar /x tftp://171.68.206.171//tftp/c3500XL-c3h2s-mz-120.5.2-XU.tar flash:

go to: http://www.cisco.com/warp/public/473/36.shtml

for a failed IOS go to: http://www.cisco.com/warp/public/473/corrupt_or_missing_image.html

New Member

Re: Upgrading IOS on 2900 switches

Way to go, what a great reply... thanks for your advice.

New Member

Re: Upgrading IOS on 2900 switches

Help...

I delete a file from flash on a 2900 and then replace it with my new file but when I reload I get this

C2900XL Boot Loader (C2900-HBOOT-M) Version 12.0(5.1)XP, MAINTENANCE INTERIM SOF

TWARE

Compiled Fri 10-Dec-99 11:06 by cchang

starting...

Base ethernet MAC Address: 00:b0:64:93:0b:80

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 4 files, 1 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 3612672

flashfs[0]: Bytes used: 3280384

flashfs[0]: Bytes available: 332288

flashfs[0]: flashfs fsck took 12 seconds.

...done Initializing Flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:c2900xl-c3h2s-tar.120-5.WC3b.bin"...flash:c2900xl-c3h2s-tar.120-5

.WC3b.bin: magic number mismatch: bad mzip file

Error loading "flash:c2900xl-c3h2s-tar.120-5.WC3b.bin"

magic number mismatch: bad mzip file .... what does this mean. Is there any quick way around this.. what have I done wrong.

New Member

Re: Upgrading IOS on 2900 switches

I prefer to use the "tar /x" command with the tar files instead of just the bin files. That way I get the update html files along with the ios

746
Views
0
Helpful
9
Replies