Chapter 4
| System Management Commands
File Management
– 142 –
Command Usage
â—† A colon (:) is required after the specified unit number and file type.
â—† If the file contains an error, it cannot be set as the default file.
Example
Console(config)#boot system config: startup
Console(config)#
Related Commands
dir (147)
whichboot (149)
copy This command moves (upload/download) a code image or configuration file
between the switch’s flash memory and an FTP/SFTP/TFTP server. When you save
the system code or configuration settings to a file on an FTP/SFTP/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 FTP/SFTP/TFTP server and the
quality of the network connection.
Syntax
copy file {file | ftp | running-config | sftp | startup-config | tftp | unit}
copy ftp {add-to-running-config | file | https-certificate | public-key |
running-config | sftp | startup-config}
copy file unit
copy running-config {file | ftp | startup-config | tftp}
copy startup-config {file | ftp | running-config | tftp}
copy tftp {add-to-running-config | file | https-certificate | public-key |
running-config | startup-config}
copy unit file
copy usbdisk file