Get Power Capping Configuration
更新时间: 2026/08/06
在Gitcode上查看源码

Get Power Capping Configuration

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

This command is used to query the power capping parameters.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer 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.
4Sub command, sub command=14h
5Power capping parameter. For details, see Table 1.
6Read offset, starting from 0.
7Length: read length

Response Information

ByteData Field
1Completion Code
2:4Manufacturer 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.
5End 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:NIndicates the data. The returned data may be less than or equal to the read length.

Reference Information

Table 1 Power capping parameters

ParameterParameter Data# (Decimal Format)
Enable Statedata1- 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 Budgetdata1:2 Get/Set Power Budget
LS-byte first
2
Power Capping Failed Actiondata1-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 Valuedata1:2-Get Power Capping Minimum Value LS-byte first4
Chassis Power Capping Activedata1-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 Powerdata1: 2-Set Node Power, which is used to set the node power. LS-byte first6
Modedata1-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 0x01

Response:

text
 db 07 00 00 01

Back to Index