Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

request system yang enable

 

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

Enable 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 enable translation scripts that were previously disabled using the request system yang disable command.

Note

When you enable translation for a package, configuration data that is associated with the YANG data models in that package and that is present in the active configuration does not impact the functioning of the device 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-nameName of the YANG package for which to enable translation.

Required Privilege Level

maintenance

Sample Output

request system yang enable

user@host> request system yang enable p1
user@host>