request system yang validate

 

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.

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

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

Description

Validate the syntax of one or more YANG modules, translation scripts, or action scripts.

Options

action-script scriptsList of paths for one or more action scripts to validate.
module modulesList of paths for one or more YANG modules to validate.
proxy-xml module modulesList of paths for one or more YANG modules to validate 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 scriptsList of paths for one or more translation scripts to validate.

Required Privilege Level

maintenance

Sample Output

request system yang validate

user@host> request system yang validate module [yang/if.yang yang/if-aggregate.yang] translation-script translation/if.slax