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


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


S600-E V200R011C10 NETCONF YANG API Reference

This document describes the NETCONF API functions supported by the switch, including the data model and samples.
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).
Changing the Enablement Status of Alarm Reporting

Changing the Enablement Status of Alarm Reporting

This section provides a sample of changing the enablement status of alarm reporting using the replace method.

Table 2-20  Changing the enablement status of alarm reporting





Data requirement

Table 2-21  Changing the enablement status of alarm reporting




Alarm enablement status


Disables alarm reporting.

Request example

<?xml version='1.0' encoding='UTF-8'?>
<rpc message-id="8" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <alarms:alarms xmlns:alarms="urn:ietf:params:xml:ns:yang:ietf-alarms" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0" xc:operation="replace">

Response example

Sample of successful response

<?xml version='1.0' encoding='UTF-8'?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="8">

Sample of failed response

<?xml version='1.0' encoding='UTF-8'?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="9">
    <error-message>parse rpc config error.</error-message>
Updated: 2019-09-23

Document ID: EDOC1000178028

Views: 4989

Downloads: 0

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