Configuration and Image File Commands
OL-32830-01 Command Line Interface Reference Guide
10.3 delete
The delete Privileged EXEC mode command deletes a file from a flash memory
device.
Syntax
url
delete
Parameters
•
url
—Specifies the location URL or reserved keyword of the file to be
deleted. (Length: 1–160 characters)
Command Mode
Privileged EXEC mode
User Guidelines
The following keywords and URL prefixes are supported
•
flash://—
URL of the FLASH file.
•
startup-config—
•
—
WORD
Name of file (e.g. backup-config).
mirror-config, *.sys, *.prv, image-1 and image-2 files cannot be deleted.
Example
The following example deletes the file called 'backup-config' from the flash
memory.
switchxxxxxx#
delete flash://backup-config
backup-config
Delete flash:
10.4 dir
The dir Privileged EXEC mode command displays the list of files on the flash file
system.
Startup configuration file.
? [confirm]
10
260