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 method is used to obtain device configuration and state data.

If the GET operation succeeds, the response returned by the server contains the "200 OK" status code and carries the queried data in the response message-body. The data format is restricted by the YANG model, and the data content is processed based on the request and relevant restrictions.

Table 4-8 Message examples

XML Format

JSON Format

Query information about the domains node and all the child nodes of this node.
  • Request

    GET /restconf/data/huawei-aaa:aaa/domains HTTP/1.1
    Host:X.X.X.X
    Accept:application/yang-data+xml
  • Response

    HTTP/1.1 200 OK
    Content-Type:application/yang-data+xml
    Content-Length:1744
    
    <?xml version="1.0" encoding="UTF-8"?>
    <domains xmlns="http://www.huawei.com/netconf/vrp/huawei-aaa">
        <domain>
            <domainName>default</domainName>
            <authenSchemeName>default</authenSchemeName>
            <acctSchemeName>default</acctSchemeName>
            <authorSchemeName>default</authorSchemeName>
            <domainState>active</domainState>
            <accessLimit>283648</accessLimit>
            <onlineNum>2</onlineNum>
            <serviceTerminal>true</serviceTerminal>
            <serviceTelnet>true</serviceTelnet>
            <serviceFtp>true</serviceFtp>
            <servicePpp>true</servicePpp>
            <serviceSsh>true</serviceSsh>
            <serviceQx>true</serviceQx>
            <serviceSnmp>true</serviceSnmp>
            <serviceMml>true</serviceMml>
            <serviceDot1x>true</serviceDot1x>
            <serviceHttp>true</serviceHttp>
            <timeRangeEnable>false</timeRangeEnable>
        </domain>
        <domain>
            <domainName>abc</domainName>
            <authenSchemeName>default</authenSchemeName>
            <acctSchemeName>default</acctSchemeName>
            <authorSchemeName>default</authorSchemeName>
            <domainState>active</domainState>
            <accessLimit>283648</accessLimit>
            <onlineNum>0</onlineNum>
            <serviceTerminal>true</serviceTerminal>
            <serviceTelnet>true</serviceTelnet>
            <serviceFtp>true</serviceFtp>
            <servicePpp>true</servicePpp>
            <serviceSsh>true</serviceSsh>
            <serviceQx>true</serviceQx>
            <serviceSnmp>true</serviceSnmp>
            <serviceMml>true</serviceMml>
            <serviceDot1x>true</serviceDot1x>
            <serviceHttp>true</serviceHttp>
            <timeRangeEnable>false</timeRangeEnable>
        </domain>
    </domains>
    
Query information about the domains node and all the child nodes of this node.
  • Request

    GET /restconf/data/huawei-aaa:aaa/domains HTTP/1.1
    Host:X.X.X.X
    Accept:application/yang-data+json
  • Response

    HTTP/1.1 200 OK
    Content-Type:application/yang-data+json
    Content-Length:1289
    
    {
        "huawei-aaa:domains" : {
          "domain" : [{
            "domainName" : "default",
            "authenSchemeName" : "default",
            "acctSchemeName" : "default",
            "authorSchemeName" : "default",
            "domainState" : "active",
            "accessLimit" : "283648",
            "onlineNum" : "2",
            "serviceTerminal" : "true",
            "serviceTelnet" : "true",
            "serviceFtp" : "true",
            "servicePpp" : "true",
            "serviceSsh" : "true",
            "serviceQx" : "true",
            "serviceSnmp" : "true",
            "serviceMml" : "true",
            "serviceDot1x" : "true",
            "serviceHttp" : "true",
            "timeRangeEnable" : "false"
          },
          {
            "domainName" : "abc",
            "authenSchemeName" : "default",
            "acctSchemeName" : "default",
            "authorSchemeName" : "default",
            "domainState" : "active",
            "accessLimit" : "283648",
            "onlineNum" : "0",
            "serviceTerminal" : "true",
            "serviceTelnet" : "true",
            "serviceFtp" : "true",
            "servicePpp" : "true",
            "serviceSsh" : "true",
            "serviceQx" : "true",
            "serviceSnmp" : "true",
            "serviceMml" : "true",
            "serviceDot1x" : "true",
            "serviceHttp" : "true",
            "timeRangeEnable" : "false"
          }]
        }
    }
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 20376

Downloads: 22

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