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

netconf-monitoring (NETCONF)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
netconf-monitoring {
    netconf-state-schemas {
        retrieve-custom-yang-modules;
        retrieve-standard-yang-modules;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit system services netconf]

Description

Configure NETCONF monitoring options.

Options

netconf-state-schemas

Specify the schemas that the NETCONF server should return when a client application retrieves the list of supported schemas, which by default includes only the Junos OS native schema. The following statements are supported:

  • retrieve-custom-yang-modules—Include third-party YANG modules installed on the device.

  • retrieve-standard-yang-modules—Include standard YANG modules supported by the device, for example, OpenConfig modules.

Client applications can request the list of supported schemas by using the following RPC:

content_copy zoom_out_map
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <get>
    <filter type="subtree">
      <netconf-state xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
        <schemas/>
      </netconf-state>
    </filter>
  </get>
</rpc>

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 21.1R1 and Junos OS Evolved Release 21.1R1.

footer-navigation