Specifications

9-16
Cisco ONS 15216 EDFA2/EDFA2-A Operations Guide, R2.4
July 2004
Chapter 9 TL1 Commands
9.6.6 CPY-MEM
9.6.6 CPY-MEM
Command Types CPY-MEM
Copies the log file or system configuration file in the non-persistent memory (RAM) or a specified file
on the persistent memory (flash file system) to a file with a specified name on the persistent memory.
Syntax Description
CPY-MEM:[<tid>]::<ctag>::[<fromfile>],[<fromdev>],[<tofile>];
Table 9-11 COPY-RFILE Syntax Description
Parameter Syntax Description
type Specifies the type and direction of transfer. Possible values are:
RFR Restore a file from remote server to the ONS 15216 EDFA2’s
flash file system.
RFBU Backup a file from the ONS 15216 EDFA2’s flash file system
to the remote server (overwrite is always YES for this type).
SWDL Download a software image file to the ONS 15216 EDFA2’s
flash file system and update the second boot entry to point to
this file.
src,
dest
string src and dest must both be URLs. Both FTP and file URLs are
supported.
An FTP URL has the following format:
ftp:[//[<userid>[:<password>]@]<ftphost>[:<port>]]/<urlpath
>
A file URL (referring to the local system) has the following
format:
file://localhost/<urlpath>
where
<userid> is the FTP user identifier
<password> is the FTP password for the user
<ftphost> is the IP address of the FTP server
<port> is the port number to connect to
<urlpath> is the path in the following format:
<cwd1>/<cwd2>/…/<cwdn>/<filename>
where <cwd1>…<cwdn> are directory levels and
<filename> is the file name
overwrite Possible values are:
YES Overwrite existing file of the same name at the destination.
NO Do not overwrite if file with same name exists at the
destination. This is the default if overwrite is null.