< Home

Querying Online Failure Reasons of Switches

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

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

Operation

XPATH

get

/get-system-connect-fail-reason

Request Example

<?xml version='1.0' encoding='UTF-8'?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="7">
  <dev:get-system-connect-fail-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="7">
  <data>
    <reason-list xmlns="urn:huawei:params:xml:ns:yang:huawei-device">
      <time>2019/03/22 15:06:44</time>
      <reason>Manage VLAN is physical down(192.168.1.111)</reason>
    </reason-list>
    <reason-list xmlns="urn:huawei:params:xml:ns:yang:huawei-device">
      <time>2019/03/22 14:52:18</time>
      <reason>Failed to create TCP link to controller(192.168.1.111)</reason>
    </reason-list>
  </data>
</rpc-reply>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic