Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

archive-sites

Syntax

archive-sites {site-name;}

Hierarchy Level

[edit accounting-options file filename]

Release Information

Statement introduced before Junos OS Release 7.4.

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

Description

Configure an archive site. If more than one site name is configured, an ordered list of archive sites for the accounting-data log files is created. When a file is archived, the router or switch attempts to transfer the file to the first URL in the list, moving to the next site only if the transfer does not succeed. The log file is stored at the archive site with a filename of the format router-name_log-filename_timestamp.

Options

site-name—Any valid FTP URL to a destination. For information about specifying valid FTP URLs, see the Junos System Basics: Getting Started Configuration Guide.

Required Privilege Level

snmp—To view this statement in the configuration.

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

Published: 2014-04-23

Published: 2014-04-23