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

修订记录

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

基本信息

功能说明

标准命令,获取可以被启用/禁用的 IPMI 命令字。 This command returns the IPMI commands that can be enabled/disabled via the Set Command Enables command for a given channel/NetFn/LUN.

权限

ReadOnly

命令信息

请求信息

字节顺序域取值说明
1Channel Number
[7:4] - reserved
[3:0] - channel number.
 0h-Bh, Fh = channel numbers
 Eh = retrieve information for channel this request was issued on.
2[7:6] - Operation
 00b = return support mask for commands 00h through 7Fh.
 01b = return support mask for commands 80h through FFh.
 10b, 11b = reserved.
[5:0] - NetFn. Network function code to look up command support for. The management controller will return the same values for odd or even NetFn values. I.e. the value for bit [0] is ignored.
3[7:2] - reserved
[1:0] - LUN

响应信息

字节顺序域取值说明
1Completion Code
2:17Support Mask
These sixteen bytes form a 128-bit bitfield where each bit indicates support for a particular command value under the given NetFn.

For each bit in the bitfield:
0b = indicates the command is available
1b = indicates the command not available

Depending on the value of the “Operation” parameter passed in the request:
byte 1, bit 0 corresponds to command 00h or command 80h
byte 1, bit 7 corresponds to command 07h or command 87h

byte 16, bit 0 correspond to command 78h or command F8h
byte 16, bit 7 corresponds to command 7Fh or command FFh

命令样例

样例1:查询通道1可以禁用的 NetFn 为 06h 的 IPMI 命令

  • 请求:ipmitool raw 0x06 0x0C 0x01 0x06 0x00
  • 响应:

返回到索引