< Home

Configuring Fast Power-On for PoE Ports

This section provides a sample of configuring fast power-on for PoE ports using the edit-config method.

Table 1 Configuring fast power-on for PoE ports

Operation

XPATH

edit-config /ietf-interfaces:interfaces/interface/huawei-poe:poe/fast-on-enable

Data Requirements

Table 2 Configuring fast power-on for PoE ports

Item

Data

Description

PoE port GigabitEthernet0/0/1

Ensure that this interface exists and has been configured on the device. For details about the configuration, see Configuring Basic Attributes of an Interface.

Only the S5720-28X-PWH-LI-AC, S5720-16X-PWH-LI-AC, S5720I-12X-PWH-SI-DC, S5730-SI, S5730S-EI, S5730-HI, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5731-H, S5731S-H, S5731-S, S5731S-S, S5732-H, and S6720-SI support this function.

Request Example

<?xml version='1.0' encoding='UTF-8'?>
<rpc message-id="8" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
 <edit-config>
  <target>
   <running/>
  </target>
  <config>
   <if:interfaces xmlns:if="urn:ietf:params:xml:ns:yang:ietf-interfaces">
    <if:interface>
     <if:name>GigabitEthernet0/0/1</if:name>
      <if:type xmlns:iana-if-type="urn:ietf:params:xml:ns:yang:iana-if-type">iana-if-type:ethernetCsmacd</if:type>
     <huawei-poe:poe xmlns:huawei-poe="urn:huawei:params:xml:ns:yang:huawei-poe">
      <huawei-poe:fast-on-enable>true</huawei-poe:fast-on-enable>
     </huawei-poe:poe>
    </if:interface>
   </if:interfaces>
  </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="8">
 <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="8">
 <rpc-error>
  <error-app-tag>-1</error-app-tag>
  <error-message>Service process failed.</error-message>
  <error-info>Error on node /ietf-interfaces:interfaces/interface[name="GigabitEthernet0/0/1"]/huawei-poe:poe/fast-on-enable</error-info>
 </rpc-error>
</rpc-reply>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >