Set Power Restore Policy
更新时间: 2026/08/06
在Gitcode上查看源码Set Power Restore Policy
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Set the power-on policy of the BMC.
Privilege
PowerMgnt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | Chassis 00h |
| CMD | 06h |
| 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
| Byte | Data Field |
|---|---|
| 1 | Completion Code. A non-zero completion code should be returned if an attempt is made to set a policy option that is not supported |
| 2 | power 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 0Response:
text
0f 01 00 06 00 04