Get Chassis Status
更新时间: 2025/06/26
在Gitcode上查看源码01h-获取机框状态(Get-Chassis-Status)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取机箱状态。
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | Chassis 00h |
| CMD | 01h |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2 | Current 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) |
| 3 | Last 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 |
| 4 | Misc. 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 |
| 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.) |
命令样例
获取机箱状态
请求:
ipmicmd -k "0f 00 00 01" smi 0响应:
0f 01 00 01 00 41 00 44 00