UANTA COMPUTER INC.
Layer 2,3,IPv6+QoS Switch
_____________________________________________________________________________
Layer 2,3,IPv6+QoS Network Switch User Manual Version 0.1
Page: 352/970
6.17.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.
Files upload to PC
Syntax
copy startup-config <sourcefilename> <url>
copy {errorlog | log | traplog} <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 - event Log file.
log - message Log file.
traplog - trap Log file.
<filename> - Operation code file name.
Default Setting
None
Command Mode
Privileged Exec