Get Chassis Status
更新时间: 2026/08/06
在Gitcode上查看源码

Get Chassis Status

Change History

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

Basic Information

Function Description

Obtains the chassis status.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFnChassis 00h
CMD01h

Response Information

ByteData Field
1Completion Code
2Current Power State
[7]-reserved
[6:5]-power restore policy[1]
00b=chassis stays powered off after AC/mains returns
01b=after AC returns, power is restored to the state that was in effect when AC/mains was lost
10b=chassis always powers up after AC/mains returns
11b=unknown
[4]-power control fault
1b=Controller attempted to turn system power on or off, but system did not enter desired state.
[3]-power fault
1b=fault detected in main power subsystem.
[2]-1b=Interlock (chassis is presently shut down because a chassis panel interlock switch is active). (IPMI 1.5)
[1]-Power overload
1b=system shutdown because of power overload condition.
[0]-Power is on
1b=system power is on
0b=system power is off (soft-off S4/S5 or mechanical off)
3Last Power Event
[7:5]-reserved
[4]-1b=last 'Power is on' state was entered via IPMI command
[3]-1b=last power down caused by power fault
[2]-1b=last power down caused by a power interlock being activated
[1]-1b=last power down caused by a Power overload
[0]-1b=AC failed
4Misc. Chassis State
[7:4]-reserved
[6]-1b=Chassis Identify command and state info supported (Optional)
0b=Chassis Identify command support unspecified via this command. (The Get Command Support command, if implemented, would still indicate support for the Chassis Identify command)
[5:4]-Chassis Identify State. Mandatory when bit [6]=1b, reserved (return as 00b) otherwise. Returns the present chassis identify state. Refer to the Chassis Identify command for more info.
00b=chassis identify state=Off
01b=chassis identify state=Temporary (timed) On
10b=chassis identify state=Indefinite On
11b=reserved
[3]-1b=Cooling/fan fault detected
[2]-1b=Drive Fault
[1]-1b=Front Panel Lockout active (power off and reset via chassis push-buttons disabled.)
[0]-1b=Chassis intrusion active
5Front Panel Button Capabilities and disable/enable status (Optional)
("Button" actually refers to the ability for the local user to be able to perform the specified functions via a pushbutton, switch, or other 'front panel' control built into the system chassis.)
[7]-1b=Standby (sleep) button disable allowed
[6]-1b=Diagnostic Interrupt button disable allowed
[5]-1b=Reset button disable allowed
[4]-1b=Power off button disable allowed (in the case there is a single combined power/standby (sleep) button, disabling power off also disables sleep requests via that button.)
[3]-1b=Standby (sleep) button disabled
[2]-1b=Diagnostic Interrupt button disabled
[1]-1b=Reset button disabled
[0]-1b=Power off button disabled (in the case there is a single combined power/standby (sleep) button, then this indicates that sleep requests via that button are also disabled.)

Command Example

Obtain the chassis status.

Request:

bash
ipmicmd -k "0f 00 00 01" smi 0

Response:

text
0f 01 00 01 00 41 00 44 00

Back to Index