Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
OpenConfig User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Installing the OpenConfig Package

date_range 23-Nov-23

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:

content_copy zoom_out_map
    junos-openconfig-XX.YY.ZZ.JJ-signed.tgz (Junos OS)
    junos-openconfig-x86-32-XX.YY.ZZ.JJ.tgz (Junos OS with Upgraded FreeBSD)

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:

content_copy zoom_out_map
user@router> request system software add junos-openconfig-XX.YY.ZZ.JJ-signed.tgz

or

content_copy zoom_out_map
user@router> request system software add junos-openconfig-x86-32-XX.YY.ZZ.JJ.tgz

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

Change History Table

Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.

Release
Description
18.3R1
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.
footer-navigation