Protocol Operations Examples; Get-Config - Lenovo RackSwitch G8264 Application Manual

For lenovo enterprise network operating system 8.4
Hide thumbs Also See for RackSwitch G8264:
Table of Contents

Advertisement

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 message­id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get­config>
<source>
<running/>
</source>
<filter type="subtree">
<configuration­text 
xmlns="http://www.ibm.com/netconf/1.0/config­text"/>
</filter>
</get­config>
</rpc>
Response from the switch:
<rpc­reply message­id="101" 
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<configuration­text 
xmlns="http://www.ibm.com/netconf/1.0/config­text">
<!­­ configuration text... ­­>
</configuration­text>
</data>
</rpc­reply>
See Table
50 for the tag elements and their values.
get­config 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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents