![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/c/95/c95b2d9b-d09f-4cf1-9047-9ce8e7b5e42a/c95b2d9b-d09f-4cf1-9047-9ce8e7b5e42a-bg10e.png)
14. System Commands
14-8
August 2002 4200-A2-GB20-00
CPY-FILE
The CPY-FILE command copies the contents of a configuration or software file on
a selected equipment module to or from an external file server.
Table 14-7. CPY-FILE Command Parameters
CPY-FILE:[tid]:aid_eqpt:[ctag]::svripaddr[,srcfile]
[,destfile],ftype,,,,,[svruid][,svrpid];
RESTRICTIONS: All parameters in this command are position-defined.
[tid] The identification of the target NE. TID is optional and has a default
value of null. The NE's SID code is the only other valid value.
aid_eqpt Equipment unit access identifier. The access identifier of a unit of
equipment with downloadable software or configuration files. Enter
aid_equip in the format COM (common equipment system identifier).
[ctag] The correlation tag that correlates an input command with its associated
output response(s). It is assigned by the originator of the command. The
value is limited to six characters, which may be an identifier or a decimal
numeral. It is optional with a default of 0.
svripaddr File Server IP Address. Valid values are:
– ddd.ddd.ddd.ddd: IP address (ddd= 0−255)
– NONE: No FTP server (default)
srcfile Source file name (file name and location of the external file server).
Name of the source file to be transferred during the software download.
This field can include a full path name in addition to the name of the file
to be transferred. This field is null (not used) for upload operations.
destfile Destination file name (file name and location of the external file server)
and location for the file to be transferred during the software upload.
This field can include a full path name in addition to the name of the file
to be transferred. This field is null (not used) for download operations.
ftype File type. Type of file to be transferred. Valid types are:
– SW: Software image. Software images downloaded into the NE
will overwrite the one not currently in use.
– CNFG: Configuration image. Configuration files downloaded into
the NE are applied directly to the active configuration.
[svid] User name (if needed) to log in to the server. If no value is specified, null
is assumed.
svrpid Password (if needed) to log in to the server. If no value is specified, null
is assumed.