No index entries found.
Download This Guide
Migration, Upgrade, and Downgrade Instructions
This section contains the procedure to upgrade Junos OS, and the upgrade and downgrade policies for Junos OS. Upgrading or downgrading Junos OS can take several hours, depending on the size and configuration of the network.
Upgrade for Layer 2 Configuration
- Starting with Junos OS Release 15.1X49-D10 and later,
only Layer 2 next-generation CLI configurations are supported. If
your device was configured earlier for Layer 2 transparent mode, then
you must convert the legacy configurations to Layer 2 next-generation
CLI configurations.
For details on how to migrate from Junos OS Release 12.3X48-D10 and earlier releases to Junos OS Release 15.1X49-D10 and later releases, refer to the Knowledge Base article at http://kb.juniper.net/InfoCenter/index?page=content&id=KB30445.
- Upgrading and Downgrading Among Junos OS Releases
- Upgrading an AppSecure Device
- Network and Security Manager Support
- Upgrade and Downgrade Scripts for Address Book Configuration
Upgrading and Downgrading Among Junos OS Releases
All Junos OS releases are listed in sequence on the JUNOS Software Dates & Milestones webpage:
https://www.juniper.net/support/eol/junos.html
To help in understanding the examples that are presented in this section, a portion of that table is replicated here. See Table 1. Note that releases footnoted with a 1 are Extended End-of-Life (EEOL) releases.
Table 1: Junos Software Dates & Milestones
Product | FRS Date |
---|---|
Junos 12.3X481 | 03/06/2015 |
Junos 12.1X472 | 08/18/2014 |
Junos 12.1X46123 | 12/30/2013 |
Junos 12.1X452 | 07/17/2013 |
Junos 12.1X4412 | 01/18/2013 |
Junos 12.1 | 03/28/2012 |
Junos 11.41 | 12/21/2011 |
Junos 11.3 | 08/15/2011 |
Junos 11.2 | 08/03/2011 |
Junos 11.1 | 03/29/2011 |
Junos 10.41 | 12/08/2010 |
Junos 10.3 | 08/15/2010 |
Junos 10.2 | 05/28/2010 |
Junos 10.1 | 02/15/2010 |
Junos 10.01 | 11/04/2009 |
Junos 9.6 | 08/06/2009 |
Junos 9.5 | 04/14/2009 |
Junos 9.4 | 02/11/2009 |
Junos 9.31 | 11/14/2008 |
Junos 9.2 | 08/12/2008 |
Junos 9.1 | 04/28/2008 |
Junos 9.0 | 02/15/2008 |
Junos 8.51 | fwd-srns-context |
You can directly upgrade or downgrade between any two Junos OS releases that are within three releases of each other.
- Example: Direct release upgrade
Release 10.3 → (bypassing Releases 10.4 and 11.1) Release 11.2
To upgrade or downgrade between Junos OS releases that are more than three releases apart, you can upgrade or downgrade first to an intermediate release that is within three releases of the desired release, and then upgrade or downgrade from that release to the desired release.
- Example: Multistep release downgrade
Release 11.3 → (bypassing Releases 11.2 and 11.1) Release 10.4 → Release 10.3
Juniper Networks has also provided an even more efficient method of upgrading and downgrading using the Junos OS EEOL releases. EEOL releases generally occur once a calendar year and can be more than three releases apart. For a list of, EEOL releases, go to https://www.juniper.net/support/eol/junos.html.
You can directly upgrade or downgrade between any two Junos OS EEOL releases that are within three EEOL releases of each other.
- Example: Direct EEOL release upgrade
Release 9.3 (EEOL) → (bypassing Releases 10.0 [EEOL] and 10.4 [EEOL]) Release 11.4 (EEOL)
To upgrade or downgrade between Junos OS EEOL releases that are more than three EEOL releases apart, you can upgrade first to an intermediate EEOL release that is within three EEOL releases of the desired EEOL release, and then upgrade from that EEOL release to the desired EEOL release.
- Example: Multistep release upgrade using intermediate
EEOL release
Release 8.5 (EEOL) → (bypassing Releases 9.3 [EEOL] and 10.0 [EEOL]) Release 10.4 (EEOL) → Release 11.4 (EEOL)
You can even use a Junos OS EEOL release as an intermediate upgrade or downgrade step if your desired release is several releases later than your current release.
- Example: Multistep release upgrade using intermediate
EEOL release
Release 9.6 → Release 10.0 (EEOL) → Release 10.2
For additional information about how to upgrade and downgrade, see the Junos OS Installation and Upgrade Guide.
Upgrading an AppSecure Device
For devices implementing AppSecure services, use the no-validate option when upgrading from Junos OS Release 11.2 or earlier to Junos OS 11.4R1 or later. The application signature package used with AppSecure services in previous releases has been moved from the configuration file to a signature database. This change in location can trigger an error during the validation step and interrupt the Junos OS upgrade. The no-validate option bypasses this step.
Network and Security Manager Support
Network and Security Manager (NSM) support for SRX Series Services Gateways with Junos OS 15.1X49-D10 is available only with NSM versions 2012.2R6 / 2012.1R10 and later. For additional information, see the Network and Security Manager documentation.
Upgrade and Downgrade Scripts for Address Book Configuration
Beginning with Junos OS Release 12.1, you can configure address books under the [security] hierarchy and attach security zones to them (zone-attached configuration). In Junos OS Release 11.1 and earlier, address books were defined under the [security zones] hierarchy (zone-defined configuration).
You can either define all address books under the [security] hierarchy in a zone-attached configuration format or under the [security zones] hierarchy in a zone-defined configuration format; the CLI displays an error and fails to commit the configuration if you configure both configuration formats on one system.
Juniper Networks provides Junos operation scripts that allow you to work in either of the address book configuration formats (see Figure 1).
- About Upgrade and Downgrade Scripts
- Running Upgrade and Downgrade Scripts
- Upgrade and Downgrade Support Policy for Junos OS Releases and Extended End-Of-Life Releases
About Upgrade and Downgrade Scripts
After downloading Junos OS Release 12.1, you have the following options for configuring the address book feature:
- Use the default address book configuration—You can configure address books using the zone-defined configuration format, which is available by default. For information on how to configure zone-defined address books, see the Junos OS Release 11.1 documentation.
- Use the upgrade script—You can run the
upgrade script available on the Juniper Networks support site to configure
address books using the new zone-attached configuration format. When
upgrading, the system uses the zone names to create address books.
For example, addresses in the trust zone are created in an address
book named trust-address-book and are attached to the trust
zone. IP prefixes used in NAT rules remain unaffected.
After upgrading to the zone-attached address book configuration:
- You cannot configure address books using the zone-defined address book configuration format; the CLI displays an error and fails to commit.
- You cannot configure address books using the J-Web interface.
For information on how to configure zone-attached address books, see the Junos OS Release 12.1 documentation.
- Use the downgrade script—After upgrading
to the zone-attached configuration, if you want to revert to the zone-defined
configuration, use the downgrade script available on the Juniper Networks
support site. For information on how to configure zone-defined address
books, see the Junos OS Release 11.1 documentation.
Note: Before running the downgrade script, make sure to revert any configuration that uses addresses from the global address book.
Figure 1: Upgrade and Downgrade Scripts for Address Books

Running Upgrade and Downgrade Scripts
The following restrictions apply to the address book upgrade and downgrade scripts:
- The scripts cannot run unless the configuration on your system has been committed. Thus, if the zone-defined address book and zone-attached address book configurations are present on your system at the same time, the scripts will not run.
- The scripts cannot run when the global address book exists on your system.
- If you upgrade your device to Junos OS Release 12.1 and
configure logical systems, the master logical system retains any previously
configured zone-defined address book configuration. The master administrator
can run the address book upgrade script to convert the existing zone-defined
configuration to the zone-attached configuration. The upgrade script
converts all zone-defined configurations in the master logical system
and user logical systems.
Note: You cannot run the downgrade script on logical systems.
For information about implementing and executing Junos operation scripts, see the Junos OS Configuration and Operations Automation Guide.
Upgrade and Downgrade Support Policy for Junos OS Releases and Extended End-Of-Life Releases
Support for upgrades and downgrades that span more than three Junos OS releases at a time is not provided, except for releases that are designated as Extended End-of-Life (EEOL) releases. EEOL releases provide direct upgrade and downgrade paths—you can upgrade directly from one EEOL release to the next EEOL release even though EEOL releases generally occur in increments beyond three releases.
You can upgrade or downgrade to the EEOL release that occurs directly before or after the currently installed EEOL release, or to two EEOL releases before or after. For example, Junos OS Releases 10.0, 10.4, and 11.4 are EEOL releases. You can upgrade from Junos OS Release 10.0 to Release 10.4 or even from Junos OS Release 10.0 to Release 11.4. However, you cannot upgrade directly from a non-EEOL release that is more than three releases ahead or behind. For example, you cannot directly upgrade from Junos OS Release 10.3 (a non-EEOL release) to Junos OS Release 11.4 or directly downgrade from Junos OS Release 11.4 to Junos OS Release 10.3.
To upgrade or downgrade from a non-EEOL release to a release more than three releases before or after, first upgrade to the next EEOL release and then upgrade or downgrade from that EEOL release to your target release.
For more information about EEOL releases and to review a list of EEOL releases, see https://www.juniper.net/support/eol/junos.html.