Get Power Supply Huawei Code
更新时间: 2026/08/06
在Gitcode上查看源码Get Power Supply Huawei Code
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtaining the Huawei BOM Number of the Power System
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 32h |
| CMD | 30h |
| 1 | slotNum |
| 2:3 | 0x1000 |
| 4 | DeviceId. Set it to 0x00. |
| 5 | SdrType. Set it to 0x00. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:33 | Power HwCode |
Command Example
Obtain the Huawei part number of the power module in slot 1.
Request:
bash
ipmitool raw 0x32 0x30 0x01 0x10 0x00 0x00 0x00Response:
text
30 32 33 31 32 48 47 59 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00