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

S600-E V200R012C00 NETCONF YANG API Reference

This document describes the NETCONF YANG 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).
Querying Historical Device Reset Reasons

Querying Historical Device Reset Reasons

This section provides a sample of querying historical device reset reasons using the get method.

Table 2-7  Querying historical device reset reasons

Operation

XPATH

get

/get-board-history-reset-reason

Data Requirements

Table 2-8  Querying historical device reset reasons

Item

Data

Description

Slot ID

2

-

Request Example

<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
  <dev:get-board-history-reset-reason xmlns:dev="urn:huawei:params:xml:ns:yang:huawei-device">
    <dev:slot-index>2</dev:slot-index>
  </dev:get-board-history-reset-reason>
</rpc>

Response Example

<?xml version='1.0' encoding='UTF-8'?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
  <get-board-history-reset-reason xmlns="urn:huawei:params:xml:ns:yang:huawei-device">
    <reason-list>
      <slot-index>2</slot-index>
      <reset-time>2018/01/15 21:26:49</reset-time>
      <reason>Board reset by VRP command or net manager</reason>
    </reason-list>
    <reason-list>
      <slot-index>2</slot-index>
      <reset-time>2018/01/12 14:58:26</reset-time>
      <reason>Board reset by VRP command or net manager</reason>
    </reason-list>
  </get-board-history-reset-reason>
</rpc-reply>
Translation
Download
Updated: 2018-09-01

Document ID: EDOC1100037962

Views: 6242

Downloads: 8

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