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.


Copies a local or network file. There is no no version.


  • You cannot change the extension of a file, for example, from .mac to .scr. You can copy software release (.rel) files only to the router (download); you cannot copy them from the router (upload). See Copying and Redirecting Files in the JunosE System Basics Configuration Guide, for detailed information on file type usage with the copy command.
  • You cannot copy script (.scr) or macro (.mac) files while in Boot mode. You can copy only .cnf, .hty, and .rel files. If you issue the dir command from Boot mode, existing .scr and .mac files are not displayed.



Privileged Exec

Related Documentation