Chapter 4
| System Management Commands
File Management
– 143 –
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 275.)
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.
unit - Keyword that allows you to copy to/from a specific unit in the stack.
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 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.
◆ Use the copy file unit command to copy a local file to another switch in the
stack. Use the copy unit file command to copy a file from another switch in the
stack.