No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Network Management and Monitoring

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, NETCONF, OpenFlow, LLDP, NQA, Mirroring, Packet Capture, Packet Trace, Path and Connectivity Detection Configuration, NetStream, sFlow, and iPCA.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
<get>

<get>

The <get> operation retrieves configuration and state data from the <running/> configuration database.

If the <get> operation is successful, the server sends an <rpc-reply> element containing a <data> element with the results of the query. Otherwise, the server returns an <rpc-reply> element containing an <rpc-error> element.

NOTE:
The differences between <get> and <get-config> operations are as follows:
  • The <get-config> operation can retrieve data from the <running/>, <candidate/>, and <startup/> configuration databases, whereas the <get> operation can only retrieve data from the <running/> configuration database.
  • The <get-config> operation can only retrieve configuration data, whereas the <get> operation can retrieve both configuration and state data.

Query interface configuration of the IFM feature in the <running/> configuration database and return the interface information in an RPC reply message:

  • RPC request:

    <rpc message-id="101"  xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get>
        <filter type="subtree">
          <ifm xmlns="http://www.huawei.com/netconf/vrp/huawei-ifm">
            <interfaces>
              <interface>
                <ifName>10GE1/0/1</ifName>
              </interface>
            </interfaces>
          </ifm>
        </filter>
      </get>
    </rpc>
  • RPC reply:

    <rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <data>
        <ifm xmlns="http://www.huawei.com/netconf/vrp" format-version="1.0" content-version="1.0">
          <interfaces>
            <interface>
              <ifIndex>5</ifIndex>
              <ifName>10GE1/0/1</ifName>
              <ifPhyType>10GE</ifPhyType>
             <!-- additional <interface> elements appear here... -->
              </interface> 
           </interfaces> 
        </ifm> 
      </data> 
    </rpc-reply> 
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075365

Views: 35346

Downloads: 123

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next