< Home

Querying Offline Failure Reasons of Switches

This section provides a sample of querying offline failure reasons of switches managed by iMaster NCE-Campus using the get method.

Table 1 Querying offline failure reasons of switches managed by iMaster NCE-Campus

Operation

XPATH

get

/get-system-reset-reason

Request Example

<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3">
  <dev:get-system-reset-reason xmlns:dev="urn:huawei:params:xml:ns:yang:huawei-device"/>
</rpc>

Response Example

<?xml version='1.0' encoding='UTF-8'?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3">
  <data>
    <reason-list xmlns="urn:huawei:params:xml:ns:yang:huawei-device">
      <name>No.1</name>
      <time>2019/03/22 09:22:47</time>
      <reason>Board reset by VRP command or net manager</reason>
    </reason-list>
    <reason-list xmlns="urn:huawei:params:xml:ns:yang:huawei-device">
      <name>No.2</name>
      <time>2019/03/21 19:02:01(DST)</time>
      <reason>Connect lost</reason>
    </reason-list>
  </data>
</rpc-reply>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >