Copy – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual
Page 117

Brocade 6910 Ethernet Access Switch Configuration Guide
67
53-1002581-01
File Management
5
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}
copy running-config {file | ftp | sftp | startup-config | tftp}
copy startup-config {file | ftp | running-config | sftp | tftp}
copy tftp {file | https-certificate | public-key | running-config | startup-config}
file - Keyword that allows you to copy to/from a file.
ftp - Keyword that allows you to copy to/from an FTP 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. (
)
running-config - Keyword that allows you to copy to/from the current running configuration.
sftp - Keyword that copies a file to or from an SFTP server.
startup-config - The configuration used for system initialization.
tftp - Keyword that allows you to copy to/from a TFTP server.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
•
The system prompts for data required to complete the copy command.
•
The destination file name should not contain slashes (\ or /), and the maximum length for file
names is 32 characters for files on the switch or 127 characters for files on the server. (Valid
characters: A-Z, a-z, 0-9, “.”, “-”)
•
The switch supports only two operation code files, but the maximum number of user-defined
configuration files is 16.
•
You can use “Factory_Default_Config.cfg” as the source to copy from the factory default
configuration file, but you cannot use it as the destination.
•
To replace the startup configuration, you must use startup-config as the destination.
•
For information on specifying an https-certificate, see
“Replacing the Default Secure-site
on page 848. For information on configuring the switch to use HTTPS for a secure
connection, see the
command.
•
When logging into an FTP/SFTP server, the interface prompts for a user name and password
configured on the remote server. Note that “Anonymous” is set as the default user name.