< Home

Data Model

The configuration model files matching PoE management are huawei-poe.yang and huawei-time-range.yang.

Only the PoE-supporting devices support this configuration.

Table 1 PoE configuration

Object

Description

Value

Remarks

/ietf-interfaces:interfaces/interface/huawei-poe:poe/enable

Indicates that PoE is enabled.

The value is of the Boolean type:
  • true: PoE is enabled.
  • false: PoE is disabled.

NA

/ietf-interfaces:interfaces/interface/huawei-poe:poe/time-range

Indicates the policy used in the PoE power-off time range.

The value is a character string.

The value must be an existing time range name on the device.

NA

/huawei-time-range:time-ranges/time-range/vsys

Indicates the Vsys name.

The value is a character string.

NA

/huawei-time-range:time-ranges/time-range/name

Indicates the name of policy used in the PoE power-off time range.

The value is a string of 1 to 32 characters.

NA

/huawei-time-range:time-ranges/time-range/period-time/start

Indicates the start time of the PoE power-off time range.

The value is a character string.

NA

/huawei-time-range:time-ranges/time-range/period-time/end

Indicates the end time of the PoE power-off time range.

The value is a character string.

NA

huawei-time-range:time-ranges/time-range/period-time/weekday

Indicates the PoE power-off time range. The time range is from Monday to Sunday.

The value can be:
  • sunday
  • monday
  • tuesday:
  • wednesday
  • thursday
  • friday
  • saturday

NA

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

Indicates whether fast power-on is enabled for PoE ports.

The value is of the Boolean type:
  • true: enable
  • false: disable

NA

/ietf-interfaces:interfaces/interface/huawei-poe:poe/conformance-to-std

Indicates the PoE power supply mode.

The value is of the enumerated type:

  • ieee8023at: the IEEE 802.3at mode.
  • ieee8023bt: the IEEE 802.3bt mode.
  • ieee8023af: the IEEE 802.3af mode.
  • ieee8023bt-pre: the IEEE 802.3bt compatible mode.

NA

/ietf-interfaces:interfaces/interface/huawei-poe:poe/poweron-legacy-level

Indicates whether non-standard PD compatibility is enabled for PoE ports.

The value is of the Boolean type:

  • normal: indicates that non-standard PD compatibility is disabled by default.
  • legacy: indicates that poe legacy enable is enabled.
  • force: indicates that poe force-power is enabled.

NA

/huawei-board:boards/board/huawei-poe:poe/reserved-power

Indicates the reserved power of a PoE device.

The value is an integer that ranges from 0 to 100, in percentage.

NA

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

Indicates whether allowing high inrush current during power-on is enabled.

The value is of the Boolean type:
  • true: enable
  • false: disable

NA

/huawei-poe:get-poe-power-state/port-name

Indicates the interface name specified during the display of PoE information.

The value is a character string.

NA

/huawei-poe:get-poe-power-state/slot-id

Indicates the slot ID specified during the display of PoE information.

The value is a character string.

If no interface and slot ID are specified, PoE information of all interfaces on the device is displayed.

/huawei-poe:get-poe-power-state/port-state/port-name

Indicates the interface name for which PoE information is displayed.

The value is a character string.

NA

/huawei-poe:get-poe-power-state/port-state/port-index

Indicates the interface index for which PoE information is displayed.

The value is an integer.

NA

/huawei-poe:get-poe-power-state/port-state/power-state

Indicates whether an interface is providing power.

The value is of the enumerated type:
  • On: The interface is providing power.
  • Off: The interface is not providing power.

NA

/huawei-poe:get-poe-power-state/port-state/enable

Indicates whether an interface has PoE enabled.

The value is of the Boolean type:
  • enable: The interface has PoE enabled.
  • disable: The interface does not have PoE enabled.

NA

/huawei-poe:get-poe-power-state/port-state/fast-on

Indicates whether an interface has fast power-on enabled.

The value is of the Boolean type:
  • enable: The interface has fast power-on enabled.
  • disable: The interface does not have fast power-on enabled.

NA

/huawei-poe:get-poe-power-state/port-state/priority

Indicates the power supply priority of an interface.

The value is of the enumerated type:
  • low: lowest priority
  • high: second highest priority
  • critical: highest priority

NA

/huawei-poe:get-poe-power-state/port-state/status

Indicates the power supply status of an interface.

The value is of the enumerated type:
  • detecting: The interface is in detecting state.
  • disabled: indicates that PoE is disabled on the interface.
  • powered: Power-on is complete.
  • overloaded: The power is overloaded.
  • power-ready: The interface is ready to provide power.
  • unstable-voltage: The interface voltage is unstable.
  • power-deny: The reference power is higher than the maximum output power of the interface.
  • classification-overcurrent: The current of the PD connected to the interface exceeds the threshold.
  • unknown-class: The class of the PD is unknown.
  • power-overcurrent: The current of the PD exceeds the maximum current of the interface.
  • poweron-fail: Power-on fails.
  • powering: The interface is providing power.
  • time-range-poweroff: The interface is in the power-off time range.
  • test-mode: The interface is in testing state.
  • legacy-disable: PD compatibility check is disabled.
  • class-mismatch: The power class does not match.
  • chip-fault: The chip of the interface fails.

NA

/huawei-poe:get-poe-power-state/port-state/legacy

Indicates whether PD compatibility check has been enabled on an interface.

The value is of the enumerated type:
  • 0: PD compatibility check has not been enabled on the interface.
  • 1: PD compatibility check has been enabled on the interface.

NA

/huawei-poe:get-poe-power-state/port-state/class

Indicates the class of the PD connected to an interface.

The value is an integer that ranges from 0 to 4.

NA

/huawei-poe:get-poe-power-state/port-state/reference-power

Indicates the reference power of an interface.

The value is an integer, in mW.

NA

/huawei-poe:get-poe-power-state/port-state/max-power

Indicates the maximum output power of an interface.

The value is an integer, in mW.

NA

/huawei-poe:get-poe-power-state/port-state/power

Indicates the current output power of an interface.

The value is an integer, in mW.

NA

/huawei-poe:get-poe-power-state/port-state/peak-power

Indicates the peak output power of an interface.

The value is an integer, in mW.

NA

/huawei-poe:get-poe-power-state/port-state/average-power

Indicates the average output power of an interface.

The value is an integer, in mW.

NA

/huawei-poe:get-poe-power-state/port-state/current

Indicates the output current of an interface.

The value is an integer, in mA.

NA

/huawei-poe:get-poe-power-state/port-state/voltage

Indicates the output voltage of an interface.

The value is an integer, in V.

NA

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >