C
HAPTER
20
| System Management Commands
File Management
– 723 –
This example shows how to copy a file to an FTP server.
Console#copy ftp file
FTP server IP address: 169.254.1.11
User[anonymous]: admin
Password[]: *****
Choose file type:
1. config: 2. opcode: 2
Source file name: BLANC.BIX
Destination file name: BLANC.BIX
Console#
delete This command deletes a file or image.
SYNTAX
delete {file name filename}| {public-key username [dsa | rsa]}
file - Keyword that allows you to delete a file.
name - Keyword indicating a file.
filename - Name of configuration file or code image.
public-key - Keyword that allows you to delete a SSH key on the
switch. (See "Secure Shell" on page 838.)
username – Name of an SSH user. (Range: 1-8 characters)
dsa – DSA public key type.
rsa – RSA public key type.
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.
◆ If the public key type is not specified, then both DSA and RSA keys will
be deleted.
EXAMPLE
This example shows how to delete the test2.cfg configuration file from
flash memory.
Console#delete test2.cfg
Console#