Search this Blog

Monday, November 7, 2011

2950T IOS Update Failure

We are trying to update a switch we bought to the latest IOS using the Cisco Network Assistant but the it is failing becasue it's saying we don't have the space.

In the CLI we get,

Switch#dir all-filesystems
Directory of flash:/
2 -rwx 109 Mar 01 1993 00:01:47 +00:00 info
3 -rwx 270 Jan 01 1970 00:01:37 +00:00 env_vars
7 -rwx 3081999 Mar 01 1993 00:03:23 +00:00 c2950-i6q4l2-mz.121-22.EA1
.bin
8 drwx 2688 Mar 01 1993 00:05:25 +00:00 html
90 -rwx 109 Mar 01 1993 00:05:26 +00:00 info.ver
7741440 bytes total (1233920 bytes free)
Directory of nvram:/
30 -rw- 0 startup-config
31 ---- 0 private-config
32768 bytes total (32716 bytes free)
Directory of system:/
2 dr-x 0 memory
1 -rw- 1133 running-config
No space information available

How do we clear all this out to make room for the new IOS. We are trying to install ( c2950-i6k2l2q4-mz.121-22.EA14.bin ).

Use CLI directly to upgrade your IOS. Not sure why the Cisco Network Assistant is refusing to upgrade your IOS. Yes, it would need to delete the current image and store in the new one but that is how the upgrade is supposed to happen.

Try the follow steps -
  • Place the new image on a network server into a folder that is accessible either via HTTP, FTP or TFTP from the switch. Let's assume it is HTTP (recommended).
  • Verify that the switch can ping the server.
  • Use the delete flash:c2950-i6q4l2-mz.121-22.EA1.bin command to delete the existing IOS image from the FLASH on your switches
  • Use the copy http://X.X.X.X/some_path/c2950-i6k2l2q4-mz.121-22.EA14.bin flash: command to copy the new IOS image from the HTTP on the server X.X.X.X (replace with appropriate IP address and path) to your FLASH
  • After the transfer is complete, enter the global configuration mode and enter the command boot system flash:/c2950-i6k2l2a4-mz.121-22.EA14.bin to configure the switch to immediately boot the new image
  • Exit the configuration mode, save your configuration, reload your switch


Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

 
/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */