cisco ios - delete files, but no squeeze command?

By cypher.msix ·
hi all,

i'm trying to free up some space on our router
here so i can install sdm. we have a cisco
1721 which is our primary gateway and vpn
device, etc. it had a bunch of unnecessary
files on it (old image and crash logs from 5
years ago). i used the delete command to
remove these files, but when i do a 'dir /all'
i see that there are still ghosts of these
files still taking up space on the flash.
sooo, i did some digging and apparantly there
is supposed to be a 'squeeze' command which
would purge all these files which have been
marked for deletion... well that command
doesn't seem to work... when i do a '?' to see
a list of commands, it's just not there. and
yes, i am in privilaged mode.

any ideas?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

squeeze explanied..

by jacob.p In reply to cisco ios - delete files, ...

"stolen from:**02 "

Table 12: Type Platforms
Class A
Cisco 7000 family, C12000, LS1010

Class B
Cisco 1003, Cisco 1004, Cisco 1005, Cisco 2500 series, Cisco 3600 series, Cisco 4000 series, Cisco AS5200

Class C
Cisco MC3810, disk0 of SC3640

Flash Memory File System Types
Class A Flash File Systems
On Class A Flash file systems, you can delete individual files using the delete command and later recover these files with the undelete command. The delete command marks the files as "deleted," but the files still take up space in Flash memory. To permanently delete the files, use the squeeze command. The squeeze command removes all of the files marked "deleted" from the specified Flash memory device. These files can no longer be recovered. To erase all of the files on a Flash device, use the format command.

Collapse -

thanks, but...

by cypher.msix In reply to squeeze explanied..

i am already aware of how the delete and squeeze commands work. the problem is that the squeeze command doesn't seem to exist for my router, and therefore i am at a loss as to how to permanently remove those files in order to recover some storage space on the flash.

Collapse -

What version is the IOS?

by cmiller5400 In reply to cisco ios - delete files, ...

Related Discussions

Related Forums