Supported Platforms
Related Documentation
- ACX, EX, J, M, MX, PTX, QFX, T Series
- Junos OS Commit Model for Router or Switch Configuration
- EX, J, M, MX, PTX, QFX, SRX, T Series
- Using Junos OS to Configure a Router or Switch to Transfer Its Configuration to an Archive Site
- EX, M, MX, PTX, QFX, SRX, T Series
- configuration
- M, MX, PTX, QFX, SRX, T Series
- transfer-on-commit
archive-sites (Configuration File)
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 11.1 for the QFX Series.
Description
Specify where to transfer the current configuration
files. When specifying a URL in a Junos OS 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 or switch attempts to transfer the configuration files to the first archive site in the list, moving to the next only if the transfer fails.
The destination filename is saved in the following format, where n corresponds to the number of the compressed configuration rollback file that has been archived:
router-name_juniper.conf.n.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 or switch is configured as UTC or the local time zone. The default time zone on the router or switch is UTC. |
![]() | Note: The [edit system archival] hierarchy is not available on QFabric systems. |
Options
The prefix used in the configuration statement determines the form of transfer:
file:// | — | transfer on a path to a named file |
ftp:// | — | transfer using active FTP server |
pasvftp:// | — | transfer to a device that only accepts passive FTP services |
scp:// | — | transfer to a known host using background SCP file transfers |
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Related Documentation
- ACX, EX, J, M, MX, PTX, QFX, T Series
- Junos OS Commit Model for Router or Switch Configuration
- EX, J, M, MX, PTX, QFX, SRX, T Series
- Using Junos OS to Configure a Router or Switch to Transfer Its Configuration to an Archive Site
- EX, M, MX, PTX, QFX, SRX, T Series
- configuration
- M, MX, PTX, QFX, SRX, T Series
- transfer-on-commit
Published: 2013-08-15
Supported Platforms
Related Documentation
- ACX, EX, J, M, MX, PTX, QFX, T Series
- Junos OS Commit Model for Router or Switch Configuration
- EX, J, M, MX, PTX, QFX, SRX, T Series
- Using Junos OS to Configure a Router or Switch to Transfer Its Configuration to an Archive Site
- EX, M, MX, PTX, QFX, SRX, T Series
- configuration
- M, MX, PTX, QFX, SRX, T Series
- transfer-on-commit