It depends on the type of flash (file system) you are working with really. There are three classes of flash memory - Class A, B, and C.
The Class A and C file systems use the erase and squeeze commands to permanently delete any existing files in the flash memory. Class B uses only delete, which only marks the files as deleted but they still occupy space in the file system. The only other option is erase, which erases the entire flash memory.
So, depending on your system, you need to determine what type of file system you are running.
Once you've determined you have enough space for the IOS image, you will need to tftp the new IOS from a server to your router/switch. Make sure you have a tftp server running that can be accessed from your router/switch. For a windows platform, tftpd32 works quite nicely. http://tftpd32.jounin.net/
Here is an example:
Directory of flash:/
1 -rw- 12848792 Jun 17 2005 08:19:04 -06:00 c2600-jk9s-mz.122-29.bin
16252924 bytes total (3393936 bytes free)
Delete filename [c2600-jk9s-mz.122-29.bin]?
Delete flash:file? [confirm]
Squeeze operation may take a while. Continue? [confirm]
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...