CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 131 –
Console#
This example shows how to copy a file to an FTP server.
Console#copy ftp file
FTP server IP address: 192.168.2.243
User[anonymous]: admin
Password[]: *****
Choose file type:
1. config: 2. opcode: 2
Source file name: ecs4120-run-v1.0.2.43.bix
Destination file name: ecs4120-run-v1.0.2.43.bix
Flash Programming started.
Flash Programming completed.
Success.
Console#
This example shows how to copy a banner text file from a TFTP server.
Console#copy tftp banner-motd
TFTP server IP address: 192.168.2.243
Banner MOTD file name: tpsbanner
Success
Console#show banner motd
TPS Publications - switch will be shutdown 17:30.
Console#
delete This command deletes a file or image.
Syntax
delete {file {unit unit no. {name filename} | name filename}| | https-certificate
| public-key username [dsa | rsa]}
file - Keyword that allows you to delete a file.
name - Keyword indicating a name of a file.
filename - Name of configuration file or code image.
unit no. - Unit number of the switch
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 265.)
username Name of an SSH user. (Range: 1-8 characters)
dsa – DSA public key type.
rsa – RSA public key type.