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
|
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
•
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
- 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. (See “Secure Shell Commands” on page 4-46.)
•
unit
- Keyword that allows you to copy to/from a unit.
Default Setting
None
whichboot
Displays the files booted
PE
4-92
boot system Specifies the file or image used to start up the
system
GC
4-93
Table 4-25 Flash/File Commands
Command
Function
Mode
Page
Summary of Contents for 6752AL2 - annexe 1
Page 2: ......
Page 22: ...TABLES xviii ...
Page 26: ...FIGURES xxii ...
Page 36: ...INTRODUCTION 1 10 ...
Page 502: ...TROUBLESHOOTING B 4 ...
Page 515: ......