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

archive-sites

archive-sites (Configuration)

Syntax

archive-sites {
ftp://username@host:<port>url-path password password;
http://username@host:<port>url-path password password;
scp://username@host:<port>url-path password password;
file://<path>/<filename>;
}

Hierarchy Level

[edit system archival configuration]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Specify where to transfer the current configuration files. When specifying a URL in a JUNOS statement using an IPv6 host address, you must enclose the entire URL in quotation marks (" ") and enclose the IPv6 host address in brackets ([ ]). For example, “scp://username<:password>@[ipv6-host-address]<:port>/url-path

If you specify more than one archive site, the router attempts to transfer the configuration files to the first archive site in the list, moving to the next only if the transfer fails. The format for the destination filename is router-name_juniper.conf[.gz]_YYYYMMDD_HHMMSS.

Note: The time included in the destination filename is always in Coordinated Universal Time (UTC) regardless of whether the time on the router is configured as UTC or the local time zone. The default time zone on the router is UTC.

Usage Guidelines

See Using JUNOS Software to Configure a Router to Transfer Its Configuration to an Archive Site.

Required Privilege Level

system—To view this statement in the configuration.

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

Related Topics

transfer-on-commit, transfer-on-commit, and configuration

archive-sites (System Log)

Syntax

archive-sites {
site-name;
}

Hierarchy Level

[edit system file filename archive]

Release Information

Statement introduced in JUNOS Release 8.5.

Description

Configure an archive site. If more than one site name is configured, a list of archive sites for the system log files is created. When a file is archived, the router 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 the filename specified at the [edit system syslog] hierarchy level.

Options

site-name—Any valid FTP URL to a destination. For information about how to specify valid FTP URLs, see Format for Specifying Filenames and URLs in JUNOS CLI Commands.

Usage Guidelines

See Using JUNOS Software to Configure a Router to Transfer Its Configuration to an Archive Site.

Required Privilege Level

system—To view this statement in the configuration.

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


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