F
ILE
M
ANAGEMENT
C
OMMANDS
20-17copy
This command moves (upload/download) a code image or configuratio n
file between the switch’s flash memory and a TFTP server. When you save
the system code or configuration settings to a file on a TFTP server, that
file can later be downloaded to the switch to restore system operation. The
success of the file transfer depends on the accessibility of the TFTP server
and the quality of the network connection.
Syntax
copy file {file | running-config | startup-config | tftp}
copy running-config {file | startup-config | tftp}
copy startup-config {file | running-config | tftp}
copy tftp {file | running-config | startup-config |
https-certificate | public-key | firmware}
copy partial-running-config startup-configfile
file - Keyword that allows you to copy to/from a file.
running-config - Keyword that allows you to copy to/from the
current running configuration.
startup-config - The configuration used for system initialization.
tftp - Keyword that allows you to copy to/from a TFTP server.
https-certificate - Keyword that allows you to copy the HTTPS
secure site certificate.
public-key - Keyword that allows you to copy a SSH key from a
TFTP server. (See “Secure Shell Commands” on page22-21.)
partial-running-config - Keyword that allows you to copy the IP
address, subnet mask, default gateway, SNMP community s trings,
CLI user names and passwords to a configuration file. All other
whichboot Displays the files booted PE 20-24
boot system Specifies the file or image used to start up the
system
GC 20-25
Table 20-9 Flash/File Commands (Continued)
Command Function Mode Page