4
Command Line Interface
Flash/File Commands
These commands are used to manage the system code or configuration files.
Command
copy
delete
dir
whichboot
boot system
copy
Use this command to move (upload/download) a code image or configuration 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 {controller | file | running-config | startup-config | tftp | unit}
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}
copy unit file
• controller - Allows you to download new PoE controller code files.
• 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.
• unit - Keyword that allows you to copy to/from a specific unit in the stack.
• https-certificate - Copies an HTTPS certificate from an TFTP server to the
switch.
• public-key - Keyword that allows you to copy a SSH key from a TFTP
server.
4-66
Table 4-22. Flash/File Commands
Function
Copies a code image or a switch configuration to or from
flash memory or a TFTP server
Deletes a file or code image
Displays a list of files in flash memory
Displays the files booted
Specifies the file or image used to start up the system
Mode
Page
PE
4-66
PE
4-69
PE
4-70
PE
4-71
GC
4-71