
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
_____________________________________________________________________________
LB9
User’s Guide 511/1523
6.16.2
copy
This command uploads and downloads to/from the switch. Local URLs can be specified using tftp or
xmodem. The following can be specified as the source file for uploading from the switch: startup config
(startup-config), event log (eventlog), message log (msglog) and trap log (traplog). A URL is specified for
the destination.
The command can also be used to download the startup config or code image by specifying the source
as a URL and destination as startup-config or image respectively.
The command can be used to the save the running config to flash by specifying the source as
running-config and the destination as startup-config {
filename
}.
The command can also be used to download ssh key files as sshkey-rsa, sshkey-rsa2, and sshkey-dsa
and http secure-server certificates as sslpem-root, sslpem- server, sslpem-dhweak, and
sslpem-dhstrong.
6.16.2.1
Upload file from switch
Syntax
copy startup-config <url> <sourcefilename>
copy {errorlog | log | traplog | cpu-pkt-capture} <url>
copy script <sourcefilename> <url>
copy image <filename> <url>
where <url>={xmodem | tftp://ipaddr/path/file | ftp://user:pass@ipaddr/path/file}
<sourcefilename> -
The filename of a configuration file or a script file.
<url> -
xmodem, tftp://ipaddr/path/file or ftp://user:pass@ipaddr/path/file.
errorlog -
error crash dump Log file.
log -
message Log file.
traplog -
trap Log file.
cpu-pkt-capture
– The CPU packets capture file.
<filename> -
Operation code file name.
Default Setting
None
Command Mode
Privileged Exec