archive-sites (Event Policy)
Syntax
archive-sites {
url <password password> <routing-instance routing-instance-name>;
}
Hierarchy Level
[edit event-options destinations destination-name]
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
|
| 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/).
|
| 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.