Pathfinder Applications
Note: † Internal applications are hidden from customers and partners. This is visible to you because you have logged into HPEs internal network.
Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Related Documentation
- Requesting Configuration Information Using NETCONF
- Requesting Committed or Candidate Configuration Information Using NETCONF
- Specifying the Scope of Configuration Information to Return in a NETCONF Response
- Requesting the Rescue Configuration Using NETCONF
- Requesting an XML Schema for the Configuration Hierarchy Using NETCONF
Requesting the Complete Configuration Using NETCONF
In a NETCONF session with a device running Junos OS, to request the entire candidate configuration, a client application encloses <get-config> and <source> tag elements and the <candidate/> tag in an <rpc> tag element:
<rpc><get-config><source><candidate/></source></get-config></rpc>
]]>]]>To request the entire active configuration, a client application encloses <get-config> and <source> tag elements and the <running/> tag in an <rpc> tag element:
<rpc><get-config><source><running/></source></get-config></rpc>
]]>]]>The NETCONF server encloses its reply in <configuration>, <data>, and <rpc-reply> tag elements. For information about the attributes in the opening <configuration> tag, see Requesting Committed or Candidate Configuration Information Using NETCONF.
<rpc-reply xmlns="URN" xmlns:junos="URL"><data> <configuration attributes> <!-- Junos XML tag elements representing
the configuration --></configuration></data></rpc-reply>
]]>]]>Related Documentation
- Requesting Configuration Information Using NETCONF
- Requesting Committed or Candidate Configuration Information Using NETCONF
- Specifying the Scope of Configuration Information to Return in a NETCONF Response
- Requesting the Rescue Configuration Using NETCONF
- Requesting an XML Schema for the Configuration Hierarchy Using NETCONF