Specifying the Scope of Configuration Information to Return in a NETCONF Response
In a NETCONF session with a device running Junos OS, a client
application can request the entire configuration or specific portions
of the configuration by including the appropriate child tag elements
in the <filter>
tag element within the <rpc>
and <get-config>
tag elements.
The type="subtree"
attribute in the
opening <filter>
tag indicates that
the client application is using Junos XML tag elements to represent
the configuration elements about which it is requesting information.
For information about requesting different amounts of configuration information, see the following topics:
Requesting a Configuration Hierarchy Level or Container Object Without an Identifier Using NETCONF
Requesting All Configuration Objects of a Specified Type Using NETCONF
Requesting Identifiers for Configuration Objects of a Specified Type Using NETCONF
Requesting Specific Child Tags for a Configuration Object Using NETCONF
Requesting Multiple Configuration Elements Simultaneously Using NETCONF