DGS-6604 mm delete
CLI Reference Guide
156
delete
Use this command to delete a file.
delete FILE-SYSTEM:\ [PATH-NAME\] FILE-NAME
Default None
Command Mode Privileged EXEC
Usage Guideline A firmware image or a configuration file that is specified as the boot-up file
cannot be deleted.
Example This example shows how to delete the file named test from the Flash card
inserted in cf1.
If the file to be deleted is used as boot up image or configuration file, then it
cannot be deleted and an error message will be displayed.
Syntax Description
FILE-SYSTEM Specifies the file system.The valid values are flash or cf1. flash represents the
Compact FLASH storage of the control management unit. cf1 represents the first
open slot of compact FLASH storage.
PATH-NAME (Optional) Specifies the name of the directory.
FILE-NAME The file to be deleted.
Switch#delete cf1:\test.txt
Delete cf1:\test.txt, (y/n) [n]?