Performing The <Get-Config>/<Get-Bulk-Config> Operation - HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual

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

Advertisement

<get-bulk>
<filter type="subtree">
<top xmlns="http://www.h3c.com/netconf/data:1.0"
xmlns:base="http://www.h3c.com/netconf/base:1.0">
<Syslog>
</Syslog>
</top>
</filter>
</get-bulk>
</rpc>
The count attribute complies with the following rules:
The count attribute can be placed in the module node and table node. In other nodes, it cannot be
resolved.
When the count attribute is placed in the module node, a descendant node inherits this count
attribute if the descendant node does not contain the count attribute.
Verifying the configuration
After receiving the get-bulk request, the device returns a response in the following format if the
operation is successful:
<?xml version="1.0"?>
<rpc-reply message-id="100"
<data>
Device state and configuration data
</data>
</rpc-reply>
Performing the <get-config>/<get-bulk-config> operation
The <get-config> and <get-bulk-config> operations are used to retrieve all non-default configurations,
which are configured by means of CLI and MIB. The <get-config> and <get-bulk-config> messages
can contain the <filter> element for filtering data.
The <get-config> and <get-bulk-config> messages are similar. The following is a <get-config>
message example:
<?xml version="1.0"?>
<rpc message-id="100" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter>
<top xmlns="http://www.h3c.com/netconf/config:1.0">
Specify the module name, submodule name, table name, and column name
</top>
</filter>
<Logs xc:count="5">
<Log>
<Index>10</Index>
</Log>
</Logs>
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
236

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents