Set Power Limit
更新时间: 2026/08/06
在Gitcode上查看源码

Set Power Limit

Change History

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

Basic Information

Function Description

Query user service configurations.

Privilege

PowerMgmt

Command Information

Request Information

ByteData Field
NetFn0x2C
CMD0x04
10xDC
2:4Reserved,0x000000
5Expected Action After Capping Failure
00h: no action
01h: power-off and event log recording
02h - Restarts the system and records event logs.
11h: Only event logs are recorded.
6:7Power capping value (Watt). The least significant byte is preferred.
8:11Correction Time Limit (ms)
After the platform power reaches the power limit, the power is limited to a value lower than the power limit within the correction time. Otherwise, the power capping fails and a failure action is taken.
Low byte first
12:13Reserved,0x0000
14:15Sampling period: statistics sampling period
Low byte first

Response Information

ByteData Field
1Completion Code
20xDC

Command Example

Set the expected action for power capping failure to no action and the power capping value to 900 W.

Request:

bash
ipmitool dcmi power set_limit action no_action limit 900

Response:

text
    Current Limit State: Power Limit Active
    Exception actions:   No Action
    Power Limit:         900 Watts
    Correction time:     0 milliseconds
    Sampling period:     0 seconds

Back to Index