cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18715
Views
0
Helpful
28
Replies

Difficulty upgrading IOS on 3750 switch & switch stack

ksuchewie
Level 2
Level 2

I have already opened a TAC case to try and resolve this problem, but TAC is really not being helpful in answering my questions or answering them timely.  This has been a case for 2 weeks now. 

I want to upgrade the IOS for my switch stack Current IOS on stack switches is 12.2(46)SE, which has known issues.

Stack setup:

1 - 3750-48PS - C3750-IPSERVICESK9-M

2 - 3750-48PS - C3750-IPSERVICESK9-M

3 - 3750-48PS - C3750-IPSERVICESK9-M

4 - 3750G-48PS - C3750-IPBASEK9-M

5 - 3750G-48TS - C3750-IPBASEK9-M

Coincidently on Monday (4/25) the flash on switch 1 in my stack went corrupt.  The IOS on the replacement switch that arrived today to replace the faulty switch is 12.2(35)SE5, so if I just swap the switches right now there would be a version mismatch.

So my thought was to just upgrade the new switch first...ok:

archive download-sw /overwrite /allow-feature-upgrade tftp://XXX.XX.X.XXX/c3750-ipservicesk9-tar.122-55.SE1.tar

Loading c3750-ipservicesk9-tar.122-55.SE1.tar from XXX.XX.X.XXX (via Vlan3): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 16107520 bytes]

Loading c3750-ipservicesk9-tar.122-55.SE1.tar from XXX.XX.X.XXX (via Vlan3): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

examining image...
extracting info (110 bytes)
extracting c3750-ipservicesk9-mz.122-55.SE1/info (698 bytes)
extracting info (110 bytes)

Stacking Version Number: 1.45

System Type:             0x00000000
  Ios Image File Size:   0x00C55A00
  Total Image File Size: 0x00F5A200
  Minimum Dram required: 0x08000000
  Image Suffix:          ipservicesk9-122-55.SE1
  Image Directory:       c3750-ipservicesk9-mz.122-55.SE1
  Image Name:            c3750-ipservicesk9-mz.122-55.SE1.bin
  Image Feature:         IP|LAYER_3|PLUS|SSH|3DES|MIN_DRAM_MEG=128


Error: There is insufficient space in flash: to install the required
Error: image.  Clean up some old images, and try again.

Switch1#dir
Directory of flash:/

    2  -rwx         616   Mar 1 1993 00:09:53 +00:00  vlan.dat
    3  -rwx        2410   Mar 1 1993 00:08:41 +00:00  config.text
    4  -rwx           5   Mar 1 1993 00:08:41 +00:00  private-config.text
    5  drwx         192   Mar 1 1993 00:13:23 +00:00  c3750-ipbase-mz.122-35.SE5


15998976 bytes total (6367232 bytes free)

How do I upgrade the image if there isn't enough space?

Isn't the /overwite command supposed to overwrite?  Is the new image just too big for the flash?

When I have to upgrade the rest of the stack what would be the easiest way?  I've seen notes about using the boot auto-copw-sw command, but how woudl that work with the 2 switches that are different?  I've already downloaded the appropriate software for those 2 switches.  When I mentioned the different models to cisco they made it sound as the different model switches had different coding within the ios image, even though after I've downloaded them they appear exactly the same in terms of file name & size;

3750-48PS - IPservices image:  c3750-ipservicesk9-tar.122-55.SE1.tar = 15.3 MB

3750G-48PS - IP base image:  c3750-ipbacsek9-tar.122-55.SE1.tar = 14.5MB

3750G-48TS - IP base image:  c3750-ipbasek9-tar.122-55.SE1.tar = 14.5MB

I won't use the IP services image for my 3750G switches since they aren't licesned, but looking at the download files they appear the same as the 3750-48PS IP services image:

3750-48PS - IPservices image:  c3750-ipservicesk9-tar.122-55.SE1.tar = 15.3 MB

3750G-48PS - IP services image:  c3750-ipservicesk9-tar.122-55.SE1.tar = 15.3MB

3750G-48TS - IP services image:  c3750-ipservicesk9-tar.122-55.SE1.tar = 15.3MB

Thank you for any help you can prove to get me up & running!

28 Replies 28

I tried using: archive tar /xtract tftp://XXX.XX.X.XXX/c3750-ipservicesk9-tar.122-55.SE1.tar flash1:

!!!!!!!!!!!!!!!!!!!!.!!.!!!!!!!.!!!!!!.!!!!!!
Premature end of tar file

Switch1#show flash

Directory of flash:/

    2  -rwx         616   Mar 1 1993 00:09:53 +00:00  vlan.dat
    3  -rwx        2410   Mar 1 1993 00:08:41 +00:00  config.text
    4  -rwx           5   Mar 1 1993 00:08:41 +00:00  private-config.text
    5  drwx         128   Mar 1 1993 03:09:41 +00:00  c3750-ipservicesk9-mz.122-
55.SE1

15998976 bytes total (128512 bytes free)
Switch1#

Hi,

  Well, you can make it. Please show the output of the following command.

Switch#show boot

HTH,

Toshi

I changed the boot command after it uploaded.  I don't know if the "Premature end of tar file" is cause for concern?

Switch1#show boot
BOOT path-list      : flash:c3750-ipservicesk9-mz.122-55.SE1/c3750-ipservicesk9-
mz.122-55.SE1.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :

Is anyone else running ipservices 122-55-SE1 that can compare flash?

Directory of flash:/

    2  -rwx         616   Mar 1 1993 00:09:53 +00:00  vlan.dat
    3  -rwx        2410   Mar 1 1993 00:08:41 +00:00  config.text
    4  -rwx           5   Mar 1 1993 00:08:41 +00:00  private-config.text
    5  drwx         128   Mar 1 1993 03:09:41 +00:00  c3750-ipservicesk9-mz.122-
55.SE1

15998976 bytes total (128512 bytes free)

Directory of flash:/c3750-ipservicesk9-mz.122-55.SE1/

    6  drwx        4608   Mar 1 1993 03:09:11 +00:00  html
  448  -rwx    12900352   Mar 1 1993 03:24:24 +00:00  c3750-ipservicesk9-mz.122-
55.SE1.bin
15998976 bytes total (128512 bytes free)

Hi,

   Okay you alreay did what you should. Now you can do this for other switches in the stack. You may use "copy flash:NewIOS flash2:" and then "boot system switch 2 flash2:NewIOS".

Good Luck

Toshi

I follow what you're saying now.  I was thinking in terms of a single switch.  I'll have to think about that one a bit.

In terms of my new replacement switch, you can still think of it as a single switch.  I have not replaced them yet.  If you really want I can delete the flash and copy over the tar file.  I just don't think it will boot correctly afterwords without the tar extracted into flash ?  I guess it depends if the switch reads the .tar file as a .tar file, or a directory?

ksuchewie
Level 2
Level 2

This does not look good....

Error loading "flash:/c3750-ipservicesk9-mz.122-55.SE1/c3750-ipservicesk9-mz.122-55.SE1.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable needs to be set to a bootable
image.

Hi

   all right , its gonna be a long thread.

switch:dir flash:

go to the next step>

switch:dir flash:c3750-ipservicesk9-mz.122-55.SE1

then go to the next step>

switch:boot flash:c3750-ipservicesk9-mz.122-55.SE1/c3750-ipservicesk9-mz.122-55.SE1.bin


What's the result?

If you see no image there, its time for xmodem.

HTH,

Toshi

Can't remember the result, but it fails.  I'm already in xmodem, copying over just the .bin now.  I'm familiar with the process, was hoping to avoid.  It really stinks how slow the transfer is in xmodem.  looks like it will take just around 4 hours to send over the image.  (12 meg)

FYI, if you see "Premature end of tar file", and even though it appears everything is copied over, don't reboot your switch.  delete your flash and try uploading again.

Hi,

  Sorry guy. Don't give up. It's not that hard to upgrade the IOS.

  Have you tried the following command to speed xmodem up?

 

 switch: set BAUD 115200
 

HTH,
Toshi

Thank you.  I totally forgot you could change the baud speed.  Now it says it will transfer in 28 mins.  Much better.

ksuchewie
Level 2
Level 2

I was able to get the switch upgraded an working this morning.  Last night I started the XMODEM process and it copied over the .bin image.  This morning I had it boot to that image.  I deleted the flash again, and ran the command:

archive tar /xtract tftp://XXX.XX.X.XXX/c3750-ipservicesk9-tar.122-55.SE1.tar flash1:

It ran for awhile, it again said the  "Premature end of tar file" error.  At this point I thought there just wasn't enough flash memory to run the IP Services image w/ the web dev manager on a switch with only 16MB flash.

Thinking about the earlier comment to use, TFTPD32, I installed that on my pc and set it up to use that instead of Solarwinds.  Just incase there were any other network issues, I closed out all software on my computer (outlook, cupc, etc.), and reran the command.  (I did not delete flash)  Then after awhile it said OK.

[OK - 16107520 bytes]

Switch#show flash

Directory of flash:/

    2  -rwx         616  Feb 28 1993 19:09:53 -05:00  vlan.dat
    3  -rwx        1935  Apr 29 2011 09:35:34 -05:00  private-config.text
    4  -rwx        4258  Apr 29 2011 09:35:34 -05:00  config.text
    5  -rwx        3096  Apr 29 2011 09:35:34 -05:00  multiple-fs
    6  drwx         192  Apr 29 2011 10:17:31 -05:00  c3750-ipservicesk9-mz.122-55.SE1
  451  -rwx         110  Apr 29 2011 10:17:33 -05:00  info

15998976 bytes total (88576 bytes free)

After setting boot path and reloading, I received this warning:

Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 52    WS-C3750-48P       12.2(55)SE1           C3750-IPSERVICESK9-M


% There may not be enough space available to collect the complete crashinfo
% It would be advisable to have 282836 bytes free space on flash:crashinfo

I'm not worried about that warning since I have plenty of space on my 3750G switches (they have 32MB mem).  Web dev is working as well.  Now I can manually push the image down to 2 of switches in the stack, instead of manually updating.  The other 2 (3750G), I will just have to break the stack and temporarily run them as standalone switches and manually update.

This is a very common issue to the first generation of 3750.  This is because this particular model only got a 16 mb flash capacity and the IOS you are loading is a FULL (tar file) and this >16mb.  I have a number of 3750 in a stack and these models have 16mb flash.  I only copied the .BIN file and it works.