9-14
Cisco ONS 15216 EDFA2 Operations Guide
78-16033-01
Chapter 9 TL1 Commands
TL1 Commands and Autonomous Messages
9.7.6 CPY-MEM
Command 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
CPY-MEM:[<tid>]::<ctag>::[<fromfile>],[<fromdev>],[<tofile>];
Example 9-6 CPY-MEM Command and Response (Copy LOG File from RAM as aolog.txt on FFS)
Amp01:ONS15216 EDFA2> CPY-MEM:Amp01::123::LOG,MEM,;
Amp01 2002-07-16 09:49:01
M 123 COMPLD
/* CPY-MEM */
;
Example 9-7 CPY-MEM Command and Response (Copy LOG File from RAM as aolog.txt on FFS using
Null)
Amp01:ONS15216 EDFA2> CPY-MEM:Amp01::123::,,;
Amp01 2002-07-16 09:46:01
M 123 COMPLD
/* CPY-MEM */
;
Example 9-8 CPY-MEM Command and Response (Copy aolog.txt on FFS as logfile20020716.txt on
FFS)
Amp01:ONS15216 EDFA2> CPY-MEM:Amp01::123::aolog.txt,FFS,logfile20020716;
Amp01 2002-07-16 09:50:38
M 123 COMPLD
/* CPY-MEM */
;
Table 9-13 CPY-MEM Syntax Description
Parameter Syntax Description
fromfile Name of the source file. A null means LOG. Can be null only
when fromdev is also null.
CFG ONS 15216 EDFA2 system configuration file, only when
fromdev is specified to be DBCFG or null.
LOG ONS 15216 EDFA2 system log file, only when fromdev is
specified to be MEM or null.
any other string The name of the source file when fromdev is specified to be
FFS. If fromdev is specified to be MEM or null, any string other
than LOG is invalid.
File names are case sensitive.
Comments to this Manuals