Hi,
Please refer to the below steps.
A PoE service requires the following configurations:
The PoE power management mode is automatic mode, the overtemperature function is enabled, the PoE function is enabled on the user port, the power transmission mode is signal line mode, the power supply priority of the user port is critical and the maximum output power is 30 W. To configure the PoE service with the preceding parameters, do as follows:
huawei(config)#interface eth 0/1
huawei(config-if-eth-0/1)#poe power-management auto
huawei(config-if-eth-0/1)#poe temperature-protection
huawei(config-if-eth-0/1)#port 1 enable mode signal priority critical max-power 30000