Protocol Operations Examples
<get-config>
672
G8264 Application Guide for ENOS 8.4
Following are examples of the NETCONF protocol operations supported by the
G8264.
Usage:
<rpc messageid="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<getconfig>
<source>
<running/>
</source>
<filter type="subtree">
<configurationtext
xmlns="http://www.ibm.com/netconf/1.0/configtext"/>
</filter>
</getconfig>
</rpc>
Response from the switch:
<rpcreply messageid="101"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<configurationtext
xmlns="http://www.ibm.com/netconf/1.0/configtext">
<! configuration text... >
</configurationtext>
</data>
</rpcreply>
See Table
50 for the tag elements and their values.
getconfig Tag Element Values
Table 50.
Tag Element
source
filter type="subtree"
!configuration
text...
Description
The configuration text you
want to retrieve.
The filter type.
Contains the running
configuration in ISCLI format.
Value
running/
or
startup/
subtree