Specifications

Table Of Contents
Chapter 7: copy Command
7 - 2 SSR Command Line Interface Reference Manual
rcp
– For example,
rcp://
<username>
@
<hostname>
/
<path>
<destination>
Destination location of the information to copy. The options for the
destination parameter are the same as the options for the
<source>
parameter.
Restrictions
The SSR does not allow some combinations of source and destination pair. Typically,
you cannot have the same location for both source and destination; for example, you
cannot copy from one TFTP server directly to another TFTP server or copy from
scratchpad to scratchpad.
In addition, you cannot copy directly into the active configuration from anywhere
except the scratchpad. All changes to the running system must come through the
scratchpad.
Examples
Here are some examples of
copy
commands.
ssr# copy scratchpad to active
Copies configuration information from the scratchpad to the active database. This
command activates all the uncommitted changes, thus immediately placing the
changes into effect.
ssr# copy config.john to config.debi
Copies the file “config.john” as “config.debi”.
ssr# copy startup to tftp-server
Copies the Startup configuration to a TFTP server for backup purposes. The CLI
prompts for the TFTP server’s IP address or host name and the file name.
ssr# copy tftp://10.1.2.3/backup/config.org to startup
Copies a previous saved configuration from a TFTP server to the Startup
configuration. Note the use of an URL to specify the TFTP server and the
filename.
ssr# copy active to rcp://john@server1/config/config.dec25
Copies the active configuration to a remote server using RCP. Notice that in this
example a URL specifies the RCP user name, server, and filename.