![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/c9/3c9eda9c-0c62-4bb8-b13a-09cbc1f92284/3c9eda9c-0c62-4bb8-b13a-09cbc1f92284-bgcb.png)
Flash/File Commands
4-57
The following example shows how to download a configuration file:
This example shows how to copy a secure-site certificate from an TFTP server. It
then reboots the switch to activate the certificate:
delete
This command deletes a file or image.
Syntax
delete filename
filename - Name of the configuration file or image name.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
• If the file type is used for system startup, then this file cannot be deleted.
• “Factory_Default_Config.cfg” cannot be deleted.
Example
This example shows how to delete the test2.cfg configuration file from flash memory.
Related Commands
dir (4-58)
Console#copy tftp startup-config
TFTP server ip address: 10.1.0.99
Source configuration file name: startup.01
Startup configuration file name [startup]:
Write to FLASH Programming.
\Write to FLASH finish.
Success.
Console#
Console#copy tftp https-certificate
TFTP server ip address: 10.1.0.19
Source certificate file name: SS-certificate
Source private file name: SS-private
Private password: ********
Success.
Console#reload
System will be restarted, continue <y/n>? y
Console#delete test2.cfg
Console#