Delete file – Allied Telesis AT-S63 User Manual
Page 166
Chapter 11: File System Commands
166
Section II: Advanced Operations
DELETE FILE
Syntax
delete file=[cflash:]
filename
Parameter
file
Specifies the name of the file to be deleted. A name
with spaces must be enclosed in double quotes.
Otherwise, the quotes are optional. If the file is stored
on a compact memory flash card, precede the name
with “cflash:”.
Description
This command deletes a file from the file system or from a compact flash
memory card in the master switch. Note the following before using this
command:
Deleting the active configuration file on the master switch causes the
stack to return to its default settings after the next reboot or power
cycle, unless you select another active boot configuration file. For
instructions on how to change the active boot configuration file, refer to
see “SET CONFIG” on page 171.
This command does not accept a directory path. To delete a file on a
compact flash card, you must first change to the directory where the
file is stored. For instructions, refer to “SET CFLASH DIR” on
page 170.
Files with a “.ukf” extension cannot be deleted with this command.
These files are encryption key pairs.
To list the files in the file system, refer to “SHOW FILE” on page 175.
Examples
This command deletes the configuration file named “a12 stack.cfg” from a
compact flash card in the master switch:
delete file=cflash:"a12 stack.cfg"