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

Help Upgrading ISO on C2960G switch.

Hello,

I am in the process of upgrading some switches IOS's from a base image w/o crypto to a base image with crypto. On the first switch in question i have 24169984 bytes free, the image i want to upgrade to is 32MB. Therefore i need to make room. As the 'bytes total' of the flash memory is only 325144048 (32.5MB) i have to remove the existing ISO from the switch.

 

My question is, if i delete the existing ISO from the switch will it actually remove the ISO? I don't want to be stuck in a situation with no ISO on the switch and lose all of the config. My plan is to backup the config, remove the existing ISO (will keep a copy of this too) and then upload the new ISO and boot from that. Is that the way to do it? This is my first time doing this so just wanted some assurances and recommendations from people who had experience.

 

Thanks in advance!

 

Jay

2 REPLIES
New Member

Hello Jay,I would first start

Hello Jay,

I would first start by saying since you are worried about the current configuration on the switch and not wanting to lose it, I would recommend using TFTP and getting a copy of the configuration off of the switch on to your laptop for safe keeping.

Secondly, have you issued the "dir" command in order to see if there may be more than one image that could be deleted?

You should see something similar the following.

switch#dir

Directory of flash:/

    3  -rwx         676   Mar 1 1993 08:02:49 +00:00  vlan.dat
    4  -rwx        5477   Apr 7 1993 19:16:51 +00:00  private-config.text
  586  -rwx        5303   Apr 7 1993 19:16:50 +00:00  config.text
    5  -rwx        3096   Apr 7 1993 19:16:51 +00:00  multiple-fs
    6  drwx         512   Mar 1 1993 00:13:31 +00:00  c2960s-universalk9-mz.122-55.SE7

57931776 bytes total (42636288 bytes free)

This output shows only 1 image.  If your output shows multiple images, then that is one way you can clean up space.

Hope this gets you started in the right direction and I will help out in any way I can!

Casey

New Member

Hi Casey,Thanks very much for

Hi Casey,

Thanks very much for your reply.

I have backed up my running-config so that's a good start.

This is what i see when i list the flash directory:

switch#dir
Directory of flash:/

    4  -rwx         976   Aug 4 2014 10:34:54 +00:00  vlan.dat
    5  -rwx        2072   Aug 4 2014 10:40:17 +00:00  multiple-fs
    6  -rwx        5806   Aug 4 2014 10:40:16 +00:00  config.text
    7  drwx         192   Mar 1 1993 00:06:25 +00:00  c2960-lanbase-mz.122-35.SE5
  626  -rwx         121   Aug 4 2014 10:40:17 +00:00  private-config.text


32514048 bytes total (24169984 bytes free)

 

I have realised a mistake. I thought the image was 32MB but its actually 5.46MB. The cisco website says "Minimum Memory: DRAM64MB Flash 32MB". Does this mean i still need this amount free even if i only want to upload a 5.46MB image onto it? I have 24.1MB space so surely i can just put the new one on and it will be fine?

 

When i boot from the new image will it wipe the config? Just wondering whether i will have to input the backup or whether it will retain it.

 

Kind regards,

 

Jay

37
Views
0
Helpful
2
Replies