I am trying to update a switch I bought to the latest IOS using the Cisco Network Assistant but the it is failing becasue it's saying I dont have the space.
In the CLI I get,
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
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 <no date> startup-config
31 ---- 0 <no date> private-config
32768 bytes total (32716 bytes free)
Directory of system:/
2 dr-x 0 <no date> memory
1 -rw- 1133 <no date> running-config
No space information available
How do I clear all this out to make room for the new IOS. I'm trying to install ( c2950-i6k2l2q4-mz.121-22.EA14.bin ). Any ideas?
I suggest using CLI directly to upgrade your IOS. I am 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.
Proceed as follows:
- 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 and hope for the best