Get Chassis Status 命令详情
更新时间:2025/06/26
在Gitcode上查看源码

修订记录

openUBMC版本号修订日期修订人修订内容
25.062025/06/26pengqiang-gs初稿,新增命令详情

基本信息

功能说明

查询机框以及主电源的状态。 This command returns information regarding the high-level status of the system chassis and main power subsystem.

权限

BasicSetting

命令信息

请求信息

无请求信息

响应信息

字节顺序域取值说明
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] - 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
(5)Front 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.)

命令样例

样例1:

  • 请求:ipmitool raw 0x00 0x01
  • 响应:00

返回到索引