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

Set Power Restore Policy

Change History

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

Basic Information

Function Description

Set the power-on policy of the BMC.

Privilege

PowerMgnt

Command Information

Request Information

ByteData Field
NetFnChassis 00h
CMD06h
1[7:3]-reserved
[2:0]-power restore policy
011b=no change (just get present policy support)
010b=chassis always powers up after AC/mains is applied or returns.
001b=after AC/mains is applied or returns, power is restored to the state that was in effect when AC/mains was removed or lost.
000b=chassis always stays powered off after AC/mains is applied, power pushbutton or command required to power on system.
all other=reserved

Response Information

ByteData Field
1Completion Code. A non-zero completion code should be returned if an attempt is made to set a policy option that is not supported
2power restore policy support (bitfield)
[7:3]-reserved
[2]-1b=chassis supports always powering up after AC/mains returns.
[1]-1b=chassis supports restoring power to state that was in effect when AC/mains was lost
[0]-1b=chassis supports staying powered off after AC/mains returns

Command Example

Request:

bash
ipmicmd -k "0f 00 00 06 03" smi 0

Response:

text
0f 01 00 06 00 04

Back to Index