Run the display poe pdpowerstate command to query the PoE port power supply status.
huawei(config-if-eth-0/1)#display poe pdpowerstate
--------------------------------
Port Powerstate
--------------------------------
1 No
2 Yes
3 No
4 No
5 No
6 No
7 No
8 No
--------------------------------
Current Mode: PD Mode
--------------------------------
Powerstate: indicates whether a port provides power in PD power supply mode. If the value is Yes, the port provides power for the line. If the value is No, the port does not provide power for the line. The value of this parameter is displayed as - in AC power supply mode. If an MA5626 supporting the reverse PoE function works in PD power supply mode, it is powered by a terminal in the PoE system.