Delete file, Syntax, Parameter – Allied Telesis AT-S63 User Manual

Page 164: Description, Examples

Advertising
background image

Chapter 13: File System Commands

164

DELETE FILE

Syntax

delete file=[flash:|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.

Description

This command deletes a file from the file system.

You can also specify the location of the file, either in flash memory (flash:)
or on a compact flash card (cflash:). The default is flash memory.

When you delete a file, note the following:

ˆ

Deleting the configuration file that is acting as the active boot
configuration file causes 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 173.

ˆ

To delete a certificate, you must first remove the certificate from the
certificate database using “DELETE PKI CERTIFICATE” on page 513.

ˆ

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 502.

To list the files in the file system, refer to “SHOW FILE” on page 177.

Examples

The following command deletes the configuration file named “Switch
12.cfg” on a compact flash card:

delete file=cflash:"Switch 12.cfg"

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

delete file=SW55a.csr

Advertising