5.Flash/File Commands
These commands are used to manage the system code or configuration files.
Command Function
Mode
Page
copy
Copies a code image or a switch configuration
PE
3-18
to or from Flash memory or a TFTP server
delete
Deletes a file or code image
PE
3-20
dir
Displays a list of files in Flash memory
PE
3-21
whichboot
Displays the files booted
PE
3-22
boot system
Specifies the file or image used to start up the
GC
3-23
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 sys-
tem 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}
> 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.
119