Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


archive-sites (Event Policy)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 7.5.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 13.2X51-D10 for QFX Series switches.


For a given destination name, configure archive sites to which an event policy can transfer files. To archive files, you must reference the destination name in the event policy. If you specify more than one archive site for a particular destination name, the device attempts to transfer to the first archive site in the list, moving to the next site only if the transfer fails.


urlThe archive destination specified as a file URI, an active or passive FTP URI, or a Secure Copy (SCP) URI. Local device directories are also supported (for example, /var/tmp/).
  • file:<//host>/path

  • ftp://username@host:<port>url-path

  • pasvftp://username@host:<port>url-path

  • scp://username@host:<port>url-path

  • <path>/<filename>

password passwordA plain-text password required for logging into the archive site.

Required Privilege Level

maintenance—To view this statement in the configuration.

maintenance-control—To add this statement to the configuration.