file copy
Syntax
Description
Copy files from one place to another on the local router or between the local router and a remote system.
Options
destination—Destination of the copied file. Specify this as a URL or filename, as described in How to Specify Filenames and URLs. If you are copying a file to the current directory (your home directory on the local router) and are not renaming the file, specify the destination with a period (.).
source—Source of the original file. Specify this as a URL or filename, as described in How to Specify Filenames and URLs.Required Privilege Level
Sample Output
user@host>copy /var/tmp/rpd.core.4 berry:/c/junipero/tmp...transferring.file...... | 0 KB | 0.3 kB/s | ETA: 00:00:00 | 100%The following is an example of copying a configuration file from Routing Engine 0 to Routing Engine 1:
user@host> file copy /config/juniper.conf re1:/var/tmp/copied-juniper.conf