Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgrading 2900 IOS

Status
Not open for further replies.

bmquiroz

IS-IT--Management
Joined
Sep 26, 2003
Messages
207
Location
US
Hi all,

I am having difficulties upgrading the IOS on a 2900 switch – The problem is there is no free space for the .tar image in flash. Which files/dirs are safe to purge to make room for the new .tar image? The last time I upgraded, I purged the entire contents of my flash and was able to upgrade successfully but lost my VLAN information.

Thanks.

-Sip
 
You need to delete the HTML directory and the IOS image itself - it will beging with 'c2900XL-' and end with '.bin'.

switch# delete flash:html/*

switch# delete flash:c2900XL-......bin

HTH

Andy
 
Thanks Andy - How about the other files, below is the dir structure:

Directory of flash:/

2 -rwx 3036020 Mar 1 1993 05:03:40 +05:00 c2950-i6q4l2-mz.121-20.EA1
a.bin
3 -rwx 796 Jul 6 2005 09:14:50 +05:00 vlan.dat
4 -rwx 377 Jan 1 1970 05:01:31 +05:00 env_vars
5 -rwx 4788 Jul 5 2005 19:41:16 +05:00 config.text
6 -rwx 47 Jul 5 2005 19:41:16 +05:00 private-config.text
7 -rwx 110 Mar 1 1993 05:01:44 +05:00 info
8 drwx 2688 Mar 1 1993 05:05:46 +05:00 html
90 -rwx 110 Mar 1 1993 05:05:49 +05:00 info.ver
92 -rwx 1048 Jul 5 2005 19:41:16 +05:00 multiple-fs

7741440 bytes total (1602048 bytes free)

Thanks.

-Sip
 
To be honest I am not sure what they all do. The config.text file is the config (obviously) and the vlan.dat file hold the VLAN information. The others though I am not sure about.
The upgrade command:

tar /x tftp://10.10.10.10/c2900XL-c3h2s-mz-120-5.3.WC.1.tar flash:

should take care of everything though and will overwrite where necessary.

Andy
 
Do not get rid of vlan.dat that "will" wipe out all your vlan definitions , just get rid of the html and the .bin file and upgrade.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top