Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
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

request system yang disable

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
request system yang disable package-name

Description

Disable the translation scripts associated with the given YANG package.

Translation scripts convert configuration data corresponding to YANG data models into Junos OS syntax and add the translated configuration data as a transient change in the checkout configuration during the commit operation. Translation scripts are enabled by default as soon as you add the scripts and related YANG modules to the device using the appropriate operational command.

Use this command to temporarily disable translation scripts for a package to help troubleshoot translation issues instead of deleting the entire package, which would remove the associated data models from the Junos OS schema as well as remove the package and related files from the device. After you disable translation for a package and commit the configuration, the configuration data associated with the YANG data models in that package can be present in the active configuration, but the configuration has no impact on the functioning of the device.

When translation is disabled, you can still configure and commit the statements and hierarchies in the data models added by that package. However, the device does not commit the corresponding Junos OS configuration statements as transient changes during the commit operation for any statements in the data models added by that package, even for those statements that were committed prior to disabling translation.

Note:

When you disable translation for a package, the device retains any transient configuration changes that were committed prior to disabling translation until the next commit operation.

Tip:

Use the show system yang package package-name command to verify the translation status of a package.

Options

package-name

Name of the YANG package for which to disable translation.

Required Privilege Level

maintenance

Sample Output

request system yang disable

content_copy zoom_out_map
user@host> request system yang disable p1
user@host>

Release Information

Command introduced in Junos OS Release 16.1R1.

footer-navigation