Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request system yang update

Syntax

Description

Update an existing YANG package to include new or modified YANG modules or scripts, and merge the updated data models in that package with the Junos OS schema.

When you update a package, the device stores copies of the new and modified module and script files. Junos OS then rebuilds its schema to include the changes to the data models and validates the active configuration against this schema.

Note:

Devices that use the ephemeral configuration database will delete all ephemeral configuration data in the process of rebuilding the schema.

Note:

To prevent CLI-related or configuration database errors, we recommend that you do not perform any CLI operations, change the configuration, or terminate the operation while a device is in the process of adding, updating, or deleting a YANG package and modifying the schema.

Note:

Starting in Junos OS Release 18.3R1, adding, deleting, or updating YANG packages in configuration mode with the run command is not supported.

Options

package-name

Name of the YANG package to update.

action-script [scripts]

List of paths for one or more action scripts to add to or update in the package.

deviation-module [modules]

List of paths for one or more deviation modules to add to or update in the package.

module [modules]

List of paths for one or more YANG modules to add to or update in the package.

proxy-xml [file-path-names]

List of paths for one or more YANG modules to add to or update in the package that provide user-defined OpenConfig mappings for the XML Proxy process to translate Junos Telemetry Interface statistics exported through gRPC into key-value pairs.

translation-script [scripts]

List of paths for one or more translation scripts to add to or update in the package.

Required Privilege Level

maintenance

Sample Output

request system yang update

Release Information

Command introduced in Junos OS Release 16.1R1.

proxy-xml option introduced in Junos OS Release 17.3R1 on MX Series and PTX Series routers.