Get Power Capping Configuration
更新时间: 2026/08/06
在Gitcode上查看源码Get Power Capping Configuration
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to query the power capping parameters.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command=14h |
| 5 | Power capping parameter. For details, see Table 1. |
| 6 | Read offset, starting from 0. |
| 7 | Length: read length |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5 | End of list, indicating whether the data reading is complete. Long data may need to be read multiple times. This field is used to check whether data is completely read. [7:1]-reserved [0]: End of list 0=last data 1=middle data |
| 6:N | Indicates the data. The returned data may be less than or equal to the read length. |
Reference Information
Table 1 Power capping parameters
| Parameter | Parameter Data | # (Decimal Format) |
|---|---|---|
| Enable State | data1- Get/Set Disable/Enable Power Capping 0-disable 1-enable and custom mode 2-enable and safe mode, but power budget is not allowed to modify. | 1 |
| Power Budget | data1:2 Get/Set Power Budget LS-byte first | 2 |
| Power Capping Failed Action | data1-Get/Set Alert 0-disable 1-enable data2-Get/Set Fail Action 0-NoAction 1-PowerOff 2-Reset 3-LogEventOnly: Only events are recorded. CAUTION: data1 is 0, data2 should be 0; data1 is 1, data2 can be 1, 2, or 3. | 3 |
| Get Power Capping Minimum Value | data1:2-Get Power Capping Minimum Value LS-byte first | 4 |
| Chassis Power Capping Active | data1-Set Chassis Power Capping Active Status 0-deactive, sent when chassis power capping is disabled 1-active: sends the alarm by default when the chassis power capping function is enabled. The BMC detection timeout period is 30s, and the MM sends the alarm every 5s. | 5 |
| Set Node Power | data1: 2-Set Node Power, which is used to set the node power. LS-byte first | 6 |
| Mode | data1-Get/Set Mode This interface is used to query and set the power capping mode. This interface applies only to Tiangong HPC computing blade scenarios. 0-Equal 1-Proportion | 7 |
Command Example
Query the power capping mode.
Request:
bash
ipmitool raw 0x30 0x93 0xdb 0x07 0x00 0x14 0x07 0x00 0x01Response:
text
db 07 00 00 01