Requests for configuration information are requests for information about the current configuration, either candidate or committed (the one currently in active use on the C-series Controller). The candidate and committed configurations diverge when there are uncommitted changes to the candidate configuration.
The NETCONF API defines the <get-config> tag element for retrieving configuration information. The SRC XML API defines a tag element for every CLI configuration statement described in the SRC software documentation set.
The following example shows how to request information from the [edit system login] hierarchy level of the candidate configuration:
<rpc>
<get-config>
<source>
<candidate/>
</source>
<filter type="subtree">
<configuration>
<system>
<login/>
</system>
</configuration>
</filter>
</get-config>
</rpc>
]]>]]>
For more information, see Requesting Configuration Information. For a summary of the available configuration tag elements, see the SRC XML API Configuration Reference.