Delete file – Allied Telesis AT-S63 User Manual

Page 148

Advertising
background image

Chapter 11: File System Commands

148

DELETE FILE

Syntax

delete file="

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. You cannot use
wildcards.

Description

This command deletes a file from the file system. To list the files in the
file system, refer to “SHOW FILE” on page 152. When deleting a file, note
the following:

❑ Deleting the configuration file that is acting as the active boot

configuration file will cause the switch to use its default settings
the next time you reboot or power cycle the switch, 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 150.

❑ To delete a certificate, you must first remove the certificate from

the certificate database using “DELETE PKI CERTIFICATE” on page
393.

❑ Files with a “.ukf” extension cannot be deleted with this

command. These files are encryption key pairs. To delete an
encryption key from the switch, refer to “DESTROY ENCO KEY” on
page 382.

Examples

The following command deletes the configuration file named “Switch
12.cfg”:

delete file="Switch 12.cfg"

The following command deletes the certificate enrollment request
SW55a.csr:

delete file=SW55a.csr

Advertising