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 validate

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
request system yang validate action-script [scripts] module [modules] proxy-xml module [modules] translation-script [scripts]

Description

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

Options

action-script scripts

List of paths for one or more action scripts to validate.

module modules

List of paths for one or more YANG modules to validate.

proxy-xml module modules

List 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 scripts

List of paths for one or more translation scripts to validate.

Required Privilege Level

maintenance

Sample Output

request system yang validate

content_copy zoom_out_map
user@host> request system yang validate module [yang/if.yang yang/if-aggregate.yang] translation-script translation/if.slax
YANG modules validation : START
YANG modules validation : SUCCESS
Scripts syntax validation : START
script check succeeds
Scripts syntax validation : SUCCESS

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.

footer-navigation