144 Configuration and Image Files
delete
The delete Privileged EXEC mode command deletes a file from a flash memory device.
Syntax
•
delete
url
•
url
— The location URL or reserved keyword of the file to be deleted. (Range: 1 - 160 characters)
The following table displays keywords and URL prefixes:
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode.
User Guidelines
• *.sys, *.prv, image-1 and image-2 files cannot be deleted.
Examples
The following example deletes file test from flash memory.
delete startup-config
The delete startup-config Privileged EXEC mode command deletes the startup-config file.
Syntax
• delete startup-config
Default Configuration
This command has no default configuration.
Keyword Source or Destination
flash: Source or destination URL for flash memory. It is the default in case a URL is
specified without a prefix.
startup-config Represents the startup configuration file.
Console# delete flash:test
Delete flash:test? [confirm]
book.book Page 144 Thursday, December 18, 2008 7:40 PM