< Home

Allowing High Inrush Current

This section provides a sample of allowing high inrush current using the edit-config method.

Table 1 Allowing high inrush current

Operation

XPATH

edit-config /huawei-board:boards/board/huawei-poe:poe/high-inrush-enable

Request Example

<?xml version='1.0' encoding='UTF-8'?>
<rpc message-id="6" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
 <edit-config>
  <target>
   <running/>
  </target>
  <config>
   <board:boards
xmlns:board="urn:huawei:params:xml:ns:yang:huawei-board">
    <board:board>
     <board:name>0</board:name>
     <huawei-poe:poe
xmlns:huawei-poe="urn:huawei:params:xml:ns:yang:huawei-poe">
      <huawei-poe:high-inrush-enable>true</huawei-poe:high-inrush-enable>
     </huawei-poe:poe>
    </board:board>
   </board:boards>
  </config>
 </edit-config>
</rpc>

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="6">
 <ok/>
</rpc-reply>

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="6">
 <rpc-error>
  <error-app-tag>-1</error-app-tag>
  <error-message>Service
process failed.</error-message>
  <error-info>Error on node /huawei-board:boards/board[name="0"]/huawei-poe:poe/high-inrush-enable</error-info>
 </rpc-error>
</rpc-reply>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >