netconf-state statistics

The statistics subtree provides statistical data pertaining to the NETCONF service on the SRĀ OS device.

Example: netconf-state statistics request and received response

<rpc message-id="50" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <get>
    <filter>
        <netconf-state xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
        <statistics/>
    </netconf-state>
    </filter>
  </get>
</rpc>
]]>]]>
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply message-id="50" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
    <data>
        <netconf-state xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
            <statistics>
                <netconf-start-time>2022-06-22T20:22:21.0Z</netconf-start-time>
                <in-sessions>2</in-sessions>
                <in-rpcs>4</in-rpcs>
                <in-bad-rpcs>1</in-bad-rpcs>
                <out-rpc-errors>1</out-rpc-errors>
                <out-notifications>0</out-notifications>
            </statistics>
        </netconf-state>
    </data>
</rpc-reply>
]]>]]>