Appendix; Appendix A Supported Netconf Operations - HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

Appendix

Appendix A Supported NETCONF operations

Table 30
lists the NETCONF operations available with Comware 7.
Table 30 NETCONF operations
Operation
get
get-config
Description
Retrieves device configuration
and state information.
Retrieves the non-default
configuration data. If non-default
configuration data does not
exist, the device returns a
response with empty data.
XML example
To retrieve device configuration and state information
for the Syslog module:
<rpc message-id ="101"
xmlns="urn:ietf:params:xml:ns:netconf:base
:1.0"
xmlns:xc="http://www.h3c.com/netconf/base:
1.0">
<get>
<filter type="subtree">
<top
xmlns="http://www.h3c.com/netconf/data:1.0
">
<Syslog>
</Syslog>
</top>
</filter>
</get>
</rpc>
To retrieve non-default configuration data for the
interface table:
<rpc message-id ="100"
xmlns="urn:ietf:params:xml:ns:netconf:base
:1.0"
xmlns:xc="http://www.h3c.com/netconf/base:
1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<top
xmlns="http://www.h3c.com/netconf/config:1
.0">
<Ifmgr>
<Interface/>
</Ifmgr>
</top>
</filter>
</get-config>
</rpc>
254
<Interfaces>
</Interfaces>

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents