Set System Power Supply Mode
更新时间: 2026/08/06
在Gitcode上查看源码Set System Power Supply Mode
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Setting the System Power Supply Mode
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 32h |
| CMD | bch |
| 1 | slotNum: indicates the slot number of the power module. |
| 2:3 | 0x0080 |
| 4 | DeviceId. Set it to 0x00. |
| 5:8 | 53h |
| 6 | powerSupplyMode 11h: load sharing mode 22h: active/standby power supply mode |
| 7 | activePower: This field can be omitted when {powerSupplyMode} is set to 11h. When {powerSupplyMode} is set to 22h, the options are as follows: 1: PSU0 is used as the main power supply. 2: PSU1 is used as the main power supply. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | Setting 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 system power supply mode.
Request:
bash
ipmitool raw 0x32 0xbc 0x00 0x00 0x80 0x00 0x53 0x22 0x01Response:
text
00