Quick Reference Guide

System Configuration Commands | 107
Syntax
copy {{{nvram:script url} | nvram:errorlog | nvram:startup-config | nvram:traplog} url} |
{url {image1 | image2 | nvram:cli-banner | nvram:script | nvram:sshkey-dsa |
nvram:sshkey-rsa1 | nvram:sshkey-rsa2 | nvram:sslpem-dhstrong |
nvram:sslpem-dhweak | nvram:sslpem-root | nvram:sslpem-server |
nvram:startup-config} | {system:running-config nvram:startup-config} | {image1 |
image2} unit://unit/{image1 | image2} | {image1 | image2} unit://*/{image1 | image2}}
Default
None
Mode
Privileged Exec
Command
History
Usage
The following files can be specified as the source file for uploading from the switch:
Event log (also called the error log or persistent log) (nvram:errorlog url/filename)
Buffered message log (also called the system log) (nvram:log url/filename)
Startup configuration (nvram:startup-config url/filename)
Startup script (nvram:script source filename url/filename)
SNMP Trap log (nvram:traplog url/filename)
Specify a TFTP destination and target filename in this form:
tftp://tftp_server_ip_address/path/filename
For example: copy nvram:log tftp://tftp_server_ip_address/path/filename
You can also overwrite the startup configuration file with the running config:
copy system:running-config nvram:startup-config
Parameters
nvram: Specify the nvram: keyword preamble to indicate that the location is
NVRAM in the switch. When used before
url, the location is the source;
when used after
url, the location is the destination.
For details on the keywords associated with
nvram:, see the Usage section,
below.
url
Enter the URL of the download or upload address, consisting first of
xmodem or TFTP. The xmodem option is followed by a file path and
file name, while
TFTP is followed first by an IPv4 address (format:
xxx.xxx.xxx.xxx), then by a file path and file name.
If the file resides in the root directory of the TFTP server, then you can
simply enter the filename. The path and filename can be no more than 31
characters each. The file size cannot be larger than 2K.
{
image1 | image2} Enter image1 to have the identified file be downloaded in place of the
SFTOS image that is currently stored as
image1, or enter image2 to
have the identified file be downloaded in place of the SFTOS image that is
currently stored as
image2. See the Usage section, below, for details.
Version 2.5.1 Modified: Added the ability to download and save up to two SFTOS images, and to copy
either image to other members of a stack.
Version 2.3
Modified: Modified functionality of
copy system:running-config
nvram:startup-config and copy tftp //tftp_server_ip_address/path/filename
nvram:startup-config.