© 2011 Fujitsu Technology Solutions
624
10.9.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.
10.9.2.1 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 or tftp://ipaddr/path/file or ftp://user:pass@ipaddr/path/file.
errorlog - event Log file.
log - message Log file.
traplog - trap Log file.
<filename> - name of the configuration or image file.
Default Setting
None
Command Mode
Privileged Exec