copy
Syntax
copy [ sourcePath ]sourceFilename [ destinationPath ]destinationFilename [ force ]
Release Information
Command introduced before JunosE Release
7.1.0.
hostName and deviceName variables added in JunosE Release 7.2.0.
Description
Copies a local or network file. There is no no version.
![]() | Note:
|
Options
- sourcePath—Path to the source in the format:
hostName: | deviceName: | /incoming/subdirectory/ | /outgoing/subdirectory/ - hostName:—Name of the network host
- deviceName:—Name of the device
specifying a flash card slot
- disk0—Specifies flash card slot 0 on the primary SRP module; if no device is specified for the primary SRP module, then disk0 is used
- disk1—Specifies flash card slot 1 on the primary SRP module; source and destination file types must be .dmp; supported only on the E120 and E320 routers
- standby—Specifies flash card slot 0 on the standby SRP module for backward compatibility
- standby-disk0—Specifies flash card slot 0 on the standby SRP module
- standby-disk1—Specifies flash card slot 1 on the standby SRP module; source and destination file types must be .dmp; supported only on the E120 and E320 routers
- incoming—Specifies the router's incoming FTP directory
- subdirectory—Name of a subdirectory on the router's FTP server. If the subdirectory does not exist, the router creates it.
- outgoing—Specifies the router's outgoing FTP directory
- sourceFilename—Name of the source file
- destinationPath—Path to the destination in the format:
networkPath | /incoming/subdirectory | /outgoing/subdirectory- networkPath—Path to the network host
- incoming—Specifies the incoming router's FTP directory
- subdirectory—Name of a subdirectory on the ERX router's FTP server. If the subdirectory does not exist, the router creates it.
- outgoing—Specifies the router's outgoing FTP directory
- destinationFilename—Name of the destination file
- force—Forces a copy, even when the destination file already exists; if a file is marked by the file system as in use because it is required for the current operation or configuration, the force keyword cannot force a copy of that file
Mode
Privileged Exec