System Utilities
Command Mode
Privileged Exec
7.14.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>
where <url>={xmodem | tftp://ipaddr/path/file}
<sourcefilename> - The filename of a configuration file or a script file.
<url> - xmodem or tftp://ipaddr/path/file.
errorlog - event Log file.
log - message Log file.
traplog - trap Log file.
Default Setting
None
Command Mode
Privileged Exec
489
Command Reference
Lan Switch and Router Blade