![background image](http://html1.mh-extra.com/html/smc-networks/8708l2/8708l2_management-manual_1300245377.webp)
F
LASH
/F
ILE
C
OMMANDS
4-87
copy
This command moves (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
{
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
}
•
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 page 46.)
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 /), the
leading letter of the file name should not be a period (.), and the
maximum length for file names on the TFTP server is 127 characters
or 31 characters for files on the switch. (Valid characters: A-Z, a-z, 0-9,
“.”, “-”, “_”)
Summary of Contents for 8708L2
Page 2: ......
Page 24: ...TABLES xxiv ...
Page 28: ...FIGURES xxviii ...
Page 290: ...CONFIGURING THE SWITCH 3 238 ...
Page 584: ...COMMAND LINE INTERFACE 4 294 ...
Page 592: ...TROUBLESHOOTING B 4 ...
Page 605: ......