CLI Reference Guide-R01

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 122 –
and 'N' to deny connect to new sftp server: y
Success.
Console#
delete This command deletes a file or image.
Syntax
delete {file name filename | https-certificate | public-key username}
file - Keyword that allows you to delete a file.
name - Keyword indicating a file.
filename - Name of configuration file or code image.
https-certificate - Keyword that allows you to delete the HTTPS secure site
certificate. You must reboot the switch to load the default certificate.
public-key - Keyword that allows you to delete a SSH key on the switch.
(See “Secure Shell” on page 251.)
username Name of an SSH user. (Range: 1-8 characters)
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.
Console#delete file name test2.cfg
Console#
Related Commands
dir (123)
delete public-key (256)