Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

rfc-compliant (NETCONF)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 15.1.

Description

Require that the NETCONF server enforce certain behaviors that are compliant with RFC 4741, NETCONF Configuration Protocol, during NETCONF sessions.

When you configure the rfc-compliant statement:

  • The NETCONF server explicitly declares the NETCONF namespace in its replies and qualifies all NETCONF tags with the nc prefix.

  • <get> and <get-config> operations that return no configuration data do not include an empty <configuration> element in RPC replies.

  • On devices running Junos OS Release 17.2R1 or later, the NETCONF server sets the default namespace for the <configuration> element to the same namespace as in the corresponding YANG model.

  • On devices running Junos OS Release 17.4R3, 18.2R2, 18.3R2, and 18.4R1 or later, the NETCONF server omits <rpc-error> elements with a severity level of warning in its replies when the operation is successful and returns an <ok/> element.

Default

If you do not include the rfc-compliant statement:

  • The NETCONF server sets the default namespace to the NETCONF namespace in RPC replies.

  • <get> and <get-config> operations that return no configuration data include an empty <configuration> element in RPC replies.

  • The NETCONF server does not set the default namespace for the <configuration> element to the same namespace as in the corresponding YANG model.

  • The NETCONF server might issue an RPC reply that includes both an <rpc-error> element with a severity level of warning and an <ok/> element.

Required Privilege Level

system—To view this statement in the configuration.

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