.
Manucomp Systems
Hours of Operation

Monday to Friday:
9am - 6pm EST

Saturday & Sunday:
Closed

If you would like additional information please contact us toll-free at :

1-866-440-1115
info@manucomp.com

Can't find the product you are looking for?
Request a quote.
Deleting Files from Boot Flash Memory
Back to Cisco Tips

When you delete a file from boot flash memory, the system marks the file as deleted. Deleted files cannot be recovered. The boot flash memory is not released after the image file has been deleted, only the image file is marked as deleted.

Caution - When deleting files from memory, be careful not to delete all the system images. You should always retain one known good image as a backup image.

To delete a file, use the delete command. The following example demonstrates how a specified image file is deleted using the delete command.

Router# dir            
Directory of bootflash:/
1 -rw- 3153784 cat2948g-in-mz.old
2 -rw- 3153932 cat2948g-in-mz
16777216 bytes total (7315372 bytes free)
Router# delete cat2948g-in-mz.old
Delete filename [cat2948g-in-mz.old]?
Delete bootflash:cat2948g-in-mz.old? [confirm]
Router# dir
Directory of bootflash:/
2 -rw- 3153932 cat2948g-in-mz
16777216 bytes total (7315372 bytes free)