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 one or more archive sites to which an event policy can transfer files. The event policy must reference the destination name in the policy. If you specify multiple archive sites for a given destination, the device transfers a file to the first archive site in the list, moving to the next site only if the previous transfer fails.

Options

routing-instance routing-instance-name

(Optional) Specify the name of the routing instance that the device uses to connect to the given archive site. You can specify the mgmt_junos instance or any configured routing instance.

  • Default: master

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. You can also specify local device directories (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 plaintext password required for logging into the archive site. The device stores the password as an encrypted value in the configuration database.

Required Privilege Level

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

Release Information

Statement introduced in Junos OS Release 7.5.

routing-instance option added in Junos OS Release 26.2R1 and Junos OS Evolved Release 26.2R1.