02-21-2011 05:23 PM - edited 03-04-2019 11:30 AM
Hi,
I'm trying to upgrade a 3750-24TS from c3750-ipservices-mz.122-25.SEE2 to a more recent image.
On the first pass, I got
Error: There is insufficient space in flash: to install the required
Error: image. Clean up some old images, and try again.
So I used the delete /recursive flash:image-dir-name to clean out the old files, but I'm still getting the same message after doing this. What's the problem? Now I have a switch with no IOS and need to at least get something on there.
Switch#sh ver
Cisco IOS Software, C3750 Software (C3750-IPSERVICES-M), Version 12.2(25)SEE2, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 28-Jul-06 08:46 by yenanh
Image text-base: 0x00003000, data-base: 0x010CE290
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)
Switch uptime is 1 hour, 18 minutes
System returned to ROM by power-on
System image file is "flash:c3750-ipservices-mz.122-25.SEE2/c3750-ipservices-mz.122-25.SEE2.bin"
cisco WS-C3750-24TS (PowerPC405) processor (revision M0) with 118784K/12280K bytes of memory.
Processor board ID CAT1038NHL0
Last reset from power-on
5 Virtual Ethernet interfaces
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:19:56:66:AC:80
Motherboard assembly number : 73-9677-10
Power supply part number : 341-0034-01
Motherboard serial number : CAT10375M26
Power supply serial number : DTH1037103T
Model revision number : M0
Motherboard revision number : A0
Model number : WS-C3750-24TS-E
System serial number : CAT1038NHL0
Top Assembly Part Number : 800-26382-02
Top Assembly Revision Number : D0
Version ID : V05
CLEI Code Number : CNMV200CRE
Hardware Board Revision Number : 0x01
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 WS-C3750-24TS 12.2(25)SEE2 C3750-IPSERVICES-M
Solved! Go to Solution.
02-21-2011 05:32 PM
1 26 WS-C3750-24TS 12.2(25)SEE2 C3750-IPSERVICES-M
I think these two I've highlighted are the culprit. Is the 3750 a 1.5RU model?
If this is so, then there's simply not enough flash memory space to put the entire TAR file into the switch. The only way out is to copy just the BIN file.
02-21-2011 05:48 PM
the tar file is 16107520 bytes, won't fit, as leolaohoo said, you need to settle just with a bin file
02-21-2011 05:59 PM
Forgot something. The reason why I highlighted IP Services is because it is a huge file. If you put, for instance IP Base, then you can archive the entire tar file.
That's what we did to our 3750 fleet.
02-21-2011 06:06 PM
.tar contains the .bin and also the html files for the management web interface which most don't use. If you really need .tar with web interface, do what leolaohoo said, use IP BASE, which will certainly fit on there.
02-21-2011 06:06 PM
The difference between the BIN file and the TAR file is this:
1. The TAR file is a compressed file (like a Windows ZIP/RAR file). Inside the TAR file is the BIN file.
2. The BIN file is what the switch reads during bootup.
3. The rest of the TAR file are HTML files used for HTML management of the switch. IF you don't use Cisco Network Assistance to manage the switch, then you don't need the HTML files.
... and THANKS for the ratings.
02-21-2011 06:51 PM
If you only have one IOS then there's no need to set the boot variable. Remove it using the command "no boot system switch all" (don't have a heart attack if the switch "pauses" for about 2 seconds).
02-21-2011 05:32 PM
1 26 WS-C3750-24TS 12.2(25)SEE2 C3750-IPSERVICES-M
I think these two I've highlighted are the culprit. Is the 3750 a 1.5RU model?
If this is so, then there's simply not enough flash memory space to put the entire TAR file into the switch. The only way out is to copy just the BIN file.
02-21-2011 05:41 PM
It's just 1RU.
Unless I missed something, all these images going back as far as the one I had require 128/16MB or at least that what it says when you download them. So it failed on the most recent image, then I went back a ways to c3750-ipservicesk9-mz.122-46.SEand that works!
oh well, at least I'm getting closer
02-21-2011 05:34 PM
paste "dir flash:" here
02-21-2011 05:42 PM
Switch#sh flash
Directory of flash:/
2 -rwx 1873 Mar 1 1993 00:21:31 +00:00 config.text
3 -rwx 736 Mar 1 1993 00:00:47 +00:00 vlan.dat
4 -rwx 5 Mar 1 1993 00:21:31 +00:00 private-config.text
wish it was that simple...
02-21-2011 05:43 PM
where is the end of the output?
02-21-2011 05:46 PM
...whoops...
Switch#sh flash
Directory of flash:/
2 -rwx 1873 Mar 1 1993 00:21:31 +00:00 config.text
3 -rwx 736 Mar 1 1993 00:00:47 +00:00 vlan.dat
4 -rwx 5 Mar 1 1993 00:21:31 +00:00 private-config.text
15998976 bytes total (15994368 bytes free)
02-21-2011 05:48 PM
the tar file is 16107520 bytes, won't fit, as leolaohoo said, you need to settle just with a bin file
02-21-2011 05:55 PM
Thanks to both of you for responding tonight.
I apologize for being new at this, but what's the difference, if any, in booting from an image that was downloaded in a .bin format versus one that was downloaded in a .tar format?
Why do they provide images in two different formats?
If the .tar image expands into all these files in a subdirectory, how does the .bin image provide those files/services?
Extracting images from archive into flash on switch 1...
c3750-ipservicesk9-mz.122-46.SE/ (directory)
extracting c3750-ipservicesk9-mz.122-46.SE/c3750-ipservicesk9-mz.122-46.SE.bin (10789421 bytes)
c3750-ipservicesk9-mz.122-46.SE/html/ (directory)
extracting c3750-ipservicesk9-mz.122-46.SE/html/toolbar.js (6383 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/framework.js (24955 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/graph.js (39650 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/stylesheet.css (22059 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/sorttable.js (48234 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/combo.js (9353 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/forms.js (13756 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/helpframework.js (865 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/ip.js (3500 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/more.txt (62 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/sitewide.js (12467 bytes)
extracting c3750-ipservicesk9-mz.122-46.SE/html/appsui.js (1749 bytes)
and so on...
02-21-2011 06:06 PM
.tar contains the .bin and also the html files for the management web interface which most don't use. If you really need .tar with web interface, do what leolaohoo said, use IP BASE, which will certainly fit on there.
02-21-2011 06:06 PM
The difference between the BIN file and the TAR file is this:
1. The TAR file is a compressed file (like a Windows ZIP/RAR file). Inside the TAR file is the BIN file.
2. The BIN file is what the switch reads during bootup.
3. The rest of the TAR file are HTML files used for HTML management of the switch. IF you don't use Cisco Network Assistance to manage the switch, then you don't need the HTML files.
... and THANKS for the ratings.
02-02-2020 11:25 PM
02-21-2011 05:59 PM
Forgot something. The reason why I highlighted IP Services is because it is a huge file. If you put, for instance IP Base, then you can archive the entire tar file.
That's what we did to our 3750 fleet.
02-21-2011 06:10 PM
Thanks to both of you !!
02-21-2011 06:12 PM
Glad to be of some assistance.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide