Planet Technology SGSW-2840P Switch User Manual


 
User’s Manual of SGSD-1022 / SGSD-1022P
SGSW-2840 / SGSW-2840P
374
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. (“Secure Shell Commands” on page 4-109)
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, “.”, “-”, “_”)
Due to the size limit of the flash memory, the switch supports only two operation code files.
The maximum number of user-defined configuration files depends on available memory.
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.
The Boot ROM and Loader cannot be uploaded or downloaded from the TFTP server. You must follow the instructions in
the release notes for new firmware, or contact your distributor for help.
For information on specifying an https-certificate, see “Replacing the Default Secure-site Certificate” on page 3-74. For
information on configuring the switch to use HTTPS/SSL for a secure connection, see “ip http secure-server” on page
4-106.
Example
The following Example shows how to download new firmware from a TFTP server:
Console#copy tftp file
TFTP server ip address: 10.1.0.19
Choose file type:
1. config: 2. opcode: <1-2>: 2 Source file name: SGSD-1022_V1.0.0.5.bix Destination file
name: SGSD-1022_V1.0.0.5.bix \Write to FLASH Programming. -Write to FLASH finish. Success.
Console#
The following example shows how to upload the configuration settings to a file on the TFTP