[Contents] [Prev] [Next] [Index] [Report an Error]


Configuring Archive Sites

After a file reaches its maximum size or the transfer-interval time is exceeded, the file is closed, renamed, and, if you configured an archive site, transferred to a remote host. To configure archive sites, include the archive-sites statement at the [edit accounting-options file filename] hierarchy level:

[edit accounting-options file filename]
archive-sites { 
    site-name;
}

site-name is any valid FTP URL. For more information on how to specify valid FTP URLs, see the JUNOS System Basics Configuration Guide. You can specify more than one URL, in any order. When a file is archived, the router attempts to transfer the file to the first URL in the list, trying the next site in the list 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.


[Contents] [Prev] [Next] [Index] [Report an Error]