Set power working mode
更新时间: 2026/08/06
在Gitcode上查看源码

Set power working mode

Change History

openUBMC VersionRevision DateDescriptionRevised By
3.22.15.012026-06-10New APIWang Han/30068863

Basic Information

Function Description

Set the power supply working mode.

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFn32h
CMDbch
1:3fru_id: 0x000080
4device_id: 0x00
5sdr_type: 0x8c
6Mode_mask. Bits 0-7 correspond to power supplies 0-7.
[7:0]: The value 0 indicates that the corresponding power supply is standby, and the value 1 indicates that the corresponding power supply is active.

Response Information

ByteData Field
1Completion Code
2Setting success/failure cause
00h: The active/standby power supply switchover is successful.
02h: The system power supply does not support active/standby power supply.
0Bh: The active and standby power supply configuration parameters are incorrect.

Command Example

Set the working mode of the power supply. Power supply 0 is the standby power supply, and other power supplies are the active power supply.

Request:

bash
ipmitool raw 0x32 0xbc 0x00 0x00 0x80 0x00 0x8c 0x0e

Response:

text

Back to Index