Chapter 4 Command-Line Reference 4-21
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}
copy tftp https-certificate
■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 – This option allows you to specify a certificate, private
key,and password from a recognised certification authority.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
■The system prompts for data required to complete the copy command.
■The destination configuration 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 32 characters for
files on the switch. (Validcharacters: A-Z, a-z, 0-9, “.”, “-”, “_”)
■Due to the size limit of the flash memory,the switch supports only two
operation code files.
■The maximum number of user-defined configuration filesdepends on available
memory.
■You can use Factory_Default_Config.cfg as the sourceto copy from the
factory default configuration file, but you cannot use it as the destination.
■To replacethe startup configuration, you can use startup-config as the
destination.
■The Boot ROM and Loader code cannot be uploaded or downloaded from the
TFTP server. Changing the Boot ROM or Loader code requires a Sun Service
Engineer.