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:
Keyword
flash:
startup-config
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.
Console# delete flash:test
Delete flash:test? [confirm]
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.
144
Configuration and Image Files
Source or Destination
Source or destination URL for flash memory. It is the default in case a URL is
specified without a prefix.
Represents the startup configuration file.