
Chapter 4
| System Management Commands
File Management
– 129 –
copy
This command moves (upload/download) a code image or configuration file
between the switch’s flash memory and an FTP/TFTP server or a USB memory stick.
When you save the system code or configuration settings to a file on an FTP/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/TFTP server
and the quality of the network connection.
Syntax
copy
file
{
file
|
ftp
|
running-config
|
startup-config
|
tftp
}
copy ftp
{
add-to-running-config
|
file
|
https-certificate
|
public-key
|
running-config
|
startup-config
}
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 usbdisk file
add-to-running-config
- Keyword that adds the settings listed in the
specified file to the running configuration.
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.
(
See “Secure Shell” on page 230.
)
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.
usbdisk
- Keyword that allows you to copy to/from a USB memory stick.
(USB slot only supports simple data storage devices using a FAT16/32 file
system with or without a partition table.)
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 128 characters for
files on the server. (Valid characters: A-Z, a-z, 0-9, “.”, “-”)
Summary of Contents for AS5700-54X
Page 42: ...Contents 42...
Page 44: ...Figures 44...
Page 52: ...Tables 52...
Page 54: ...Section I Getting Started 54...
Page 80: ...Chapter 1 Initial Switch Configuration Setting the System Clock 80...
Page 210: ...Chapter 6 Remote Monitoring Commands 210...
Page 358: ...Chapter 9 Access Control Lists ACL Information 358...
Page 418: ...Chapter 12 Port Mirroring Commands RSPAN Mirroring Commands 418...
Page 436: ...Chapter 15 UniDirectional Link Detection Commands 436...
Page 442: ...Chapter 16 Address Table Commands 442...
Page 506: ...Chapter 18 VLAN Commands Configuring VXLAN Tunneling 506...
Page 526: ...Chapter 19 Class of Service Commands Priority Commands Layer 3 and 4 526...
Page 544: ...Chapter 20 Quality of Service Commands 544...
Page 652: ...Chapter 22 Multicast Filtering Commands MLD Proxy Routing 652...
Page 680: ...Chapter 23 LLDP Commands 680...
Page 722: ...Chapter 24 CFM Commands Delay Measure Operations 722...
Page 732: ...Chapter 25 Domain Name Service Commands 732...
Page 790: ...Chapter 27 IP Interface Commands ND Snooping 790...
Page 1072: ...Section III Appendices 1072...
Page 1102: ...List of CLI Commands 1102...
Page 1115: ......
Page 1116: ...AS5700 54X AS6700 32X E032016 ST R02 149100000198A...