Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Installing the OpenConfig Package

 

Starting in Junos OS Release 18.3R1, the Junos OS image includes the OpenConfig package; therefore, you do not need to install OpenConfig separately on your device.

By default, the OpenConfig schema is not available through CLI. To unhide the OpenConfig knob from the CLI, run the following command:

set system schema openconfig unhide

Note

The show system yang package command in the operational mode does not display native Junos OS OpenConfig package. This is because the Junos OS image includes the OpenConfig package.

OpenConfig package includes the following files:

  • OpenConfig set of data models—Data models are written in YANG.

  • Translation scripts—Translates OpenConfig configuration schemas to Junos OS configuration schemas for each supported Junos OS release.

  • Deviation modules—Specifies the unsupported nodes within the schema for each supported Junos OS release.

  • Augmentation module—Specifies additions to various OpenConfig specified models.

  • Dynamic rendering files—Maps operational state data for each supported Junos OS release.

In releases before Junos OS Release 18.3R1, OpenConfig for Junos OS software package have the following naming convention:

where:

  • XX represents the OpenConfig major release number.

  • YY represents the OpenConfig minor release number.

  • ZZ represents the OpenConfig patch release number.

  • JJ represents the Juniper Networks release number.

Note

The junos-openconfig-x86-32-XX.YY.ZZ.JJ.tgz package supports both 32 and 64 bit systems.

To install the OpenConfig for Junos OS software package, use the following command:

request system software add

For example:

or

For more details on the OpenConfig for Junos OS software package, see Release Notes available with the package on the Juniper Software Download website.

Release History Table
Release
Description
Starting in Junos OS Release 18.3R1, the Junos OS image includes the OpenConfig package; therefore, you do not need to install OpenConfig separately on your device.