Cisco Cisco ASR 5000

Page of 9109
  Exec Mode Commands (A-C) 
copy  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
4043 
passive
 
Indicates the file copy is to use the passive mode FTP. 
-noconfirm
 
Executes the command without any additional prompt and confirmation from the user. 
Important:
  Use of the 
-noconfirm
 option allows the over writing of an existing file if the destination file 
already exists. 
Usage 
Copy configuration files, log files, etc.,to provide backups of data through the network. 
Example
 
For thew ASR 5000, the following copies files from the local 
/flash/pub
 directory to remote node 
remoteABC
’s 
/pcmcia2/pub
 directory with and without confirmation respectively. 
copy http://remoteABC/pub/june.cfg /flash/pub/june.cfg 
copy tftp://remoteABC/pub/june.cfg /pcmcia2/pub/june.cfg -noconfirm 
For the ASR 5500, the following copies files from the local 
/flash/pub
 directory to remote node 
remoteABC
’s 
/flash/pub
 directory with and without confirmation respectively. 
copy http://remoteABC/pub/june.cfg /flash/pub/june.cfg 
copy tftp://remoteABC/pub/june.cfg /flash/pub/june.cfg -noconfirm 
The following copies files from remote node 
remoteABC
 to remote node 
remote123
copy ftp://remoteABC/pub/may.cfg ftp://remote123/pub/may.cfg