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 12800 and 12800E V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, sFlow, and NETCONF.
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 only retrieves data from the <running/> configuration database. Therefore, the <get> operation does not need the <source> parameter for specifying a configuration database.

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

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" content-version="1.0" format-version="1.0">
           <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>MEth</ifPhyType>
             <!-- additional <interface> elements appear here... -->
              </interface> 
           </interfaces> 
        </ifm> 
      </data> 
    </rpc-reply> 
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 20879

Downloads: 22

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