Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show system yang package

 

Syntax

Release Information

Command introduced in Junos OS Release 16.1R1 on MX Series and T Series routers.

Command introduced in Junos OS Release 17.1R1 on EX Series and QFX Series switches and PTX Series routers.

Command introduced in Junos OS Release 17.3R1 on SRX345, SRX1500, SRX4100, SRX4200, SRX5400, SRX5600, and SRX5800 devices and vSRX instances.

Command introduced in Junos OS Release 18.1R1 on ACX Series routers.

Description

Display YANG packages that are installed on the device and list the corresponding modules, action scripts, and translation scripts associated with the package. The output also includes the translation status for the package, which determines whether the device invokes the package’s translation scripts during a commit operation.

Options

noneDisplay information about all YANG packages that are installed on the device.
package-nameName of a specific YANG package for which to display information.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show system yang package command. Output fields are listed in the approximate order in which they appear.

Table 1: show system yang package Output Fields

Field Name

Field Description

Package ID

Package identifier.

YANG Module(s)

List of YANG modules and deviation modules associated with the package ID. Data models defined in the modules are merged with the Junos OS schema.

Action Script(s)

List of action scripts associated with the package ID.

Translation Script(s)

List of translation scripts associated with the package ID.

Translation script status

Specifies whether translation for that package is enabled or disabled.

When translation is disabled, the device does not invoke the translation scripts for that package during a commit operation, and the changes made to the configuration statements and hierarchies added by that package are not translated into Junos OS syntax and committed as transient configuration changes.

Sample Output

user@host> show system yang package p1