Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
110
of
272
5 Copy Commands
These copy commands are valid before FW v7.20.0034. See
for
copy commands at FW v7.20.0034 and after.
Command
:
copy
Description
:
Copy config file from source to destination.
Syntax
:
copy
{ startup-config | running-config | <source_path> } { startup-config | running-config | <destination_path> } [
syntax-check ]
[ save-host-key ] [ ftp-active ]
[ { merge | replace } ]
Parameters
:
<url_file>
File in FLASH or on TFTP server. Syntax: <flash:filename |tftp://server/path-and-filename>.
A valid file name is a text string drawn from alphabet (A-Za-z), digits (0-9), dot (.), hyphen (-),
under score(_). The maximum length is 255 and hyphen must not be first character. The file
name content that only contains '.' is not allowed.
running-config Currently running configuration
startup-config Startup configuration.
|
Output modifiers.
merge
merge source file with running-config.
replace
replace running-config with source file (default action).
syntax-check Perform syntax check on source configuration.
save-host-key Save Host key. Always save SSH host keys in local cache. A host key is a cryptographic key used
for authenticating computers in the SSH protocol. Host keys are key pairs, typically using RSA,
DSA, or ECDSA algorithms. Public host keys are stored on and/or distributed to SSH clients, and
private keys are stored on SSH servers.
ftp-active
FTP active
<cr>
Example
:
SISPM1040-582-LRT#
copy running-config startup-config replace syntax-check
Building configuration...
% Saving 2804 bytes to flash:startup-config
SISPM1040-582-LRT#
copy startup-config running-config merge syntax-check
SISPM1040-582-LRT#
Message
: % startup-config: Load failed: Cannot read file status.