Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

archive-sites (Event Policy)

Syntax

Hierarchy Level

Description

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.

Options

url

The archive destination specified as a file URI, an active or passive FTP URI, a Secure FTP (SFTP) 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

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

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

  • <path>/<filename>

password password

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

Required Privilege Level

maintenance—To view or add this statement in the configuration.

Release Information

Statement introduced in Junos OS Release 7.5.