Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

netconf

Syntax

Hierarchy Level

Description

CAUTION:

Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.

Configure the NETCONF XML management protocol.

Default

If you do not include the netconf statement, NETCONF connections are not permitted.

Options

flatten-commit-results Suppress the <commit-results> XML subtree in the NETCONF server's response for <commit> operations. This statement must be configured in conjunction with the rfc-compliant statement.
Note:

You should configure the flatten-commit-results statement outside of a NETCONF session, for example, in the CLI. If you configure the statement in a NETCONF session and commit and synchronize the configuration, the RPC reply might return unclosed or mismatched XML tags.

version-1.1

Make NETCONF sessions compliant to RFC 6242, Using the NETCONF Protocol over Secure Shell (SSH). This statement must be configured in conjunction with the rfc-compliant statement.

When you enable RFC 6242-compliant NETCONF sessions and both peers advertise the :base:1.1 capability, the NETCONF session uses chunked framing instead of the end-of-message character sequence (]]>]]>) to define message boundaries.

The remaining statements are explained separately. See CLI Explorer.

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 7.5.

flatten-commit-results option added in Junos OS Release 21.2R1.

version-1.1 statement added in Junos OS Release 24.4R1 and Junos OS Evolved Release 24.4R1.