2-44
Cisco ONS SONET TL1 Command Guide, R6.0
Chapter 2      Procedures and Provisioning
2.6.2  APPLY
 –
FTP_HOST_IP is the IP address of the computer with the package file, DNS lookup of 
hostnames is not supported
 –
FTP_PORT defaults to 21
 –
PACKAGE_PATH is the long path name to the package file starting from the home directory of 
the logged-in user.
In a firewall environment the hostname should be replaced with a list of IP addresses each 
separated by a “@” character. The first IP address should be for the computer where the package 
file is stored. Subsequent IP addresses are for firewall computers moving outward toward the 
edge of the network until the final IP address listed is the computer that outside users use to first 
access the network.
For example, if your topology is:
“FTPHOST <-> GNE3 <->GNE2 <-> GNE1 <-> ENE” 
the FTP URL is:
FTP://FTP_USER:FTP_PASSWORD@FTP_HOST_IP@GNE3@GNE2@GNE1/ 
PAC KAG E_PATH
SRC1 is a String
 –
DEST specifies the destination of the file to be transferred. The comments for the SRC 
parameter are also valid here. DEST is a string
 –
If OVWRT is YES, then files are overwritten. Currently only YES is supported. Using a NO 
value for OVWRT will result in an error message.
Note • FTP is the only allowed file transfer method.
 • The use of the SWDL and the extended FTP URL syntax are required by the COPY-RFILE syntax.
2.6.2 APPLY
The APPLY command can activate or revert software depending on the version of software loaded on 
the active and protect flash. An error is returned if the node is attempting to activate to an older software 
load or trying to revert to a newer software load. If this command is successful the appropriate flash is 
selected and the TCC2/TCC2P, XTC, 15310-CL-CTX, or TSC card will reboot.
Input format:
Example 2-31 APPLY:[<TID>]::<CTAG>[::<MEM_SW_TYPE>]:
where:
 • <MEM_SW_TYPE> indicates memory switch action during the software upgrade.