delete

Deletes a user-generated file from the flash memory.

Syntax

delete file

Parameters

file
The name of the file to be deleted.

Modes

Privileged EXEC mode

Usage Guidelines

The delete operation is final; there is no mechanism to restore the file.

System configuration files cannot be deleted. If you try to delete a system configuration file, an appropriate message is displayed.

Examples

To delete a user-generated copy of a configuration file:

device# delete myconfig
 
% Warning: File will be deleted (from flash:)!
Continue?(y/n): y