Get NetFn Support 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
标准命令,获取指定 IPMI 通道上支持的 NetFn 和 LUN。 This command returns which NetFn and LUNs support commands on a given channel. Since command support can vary by channel, the Channel Number parameter is part of the request.
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Channel Number [7:4] - reserved [3:0] - channel number. 0h-Bh, Fh = channel numbers Eh = retrieve information for channel this request was issued on. |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2 | LUN support [7:6] - LUN 3 (11b) support 00b = no commands supported on LUN 3 (11b) 01b = commands follow base IPMI specification. Commands exist on LUN, but no special restriction of command functions. Commands follow standard Optional/Mandatory specifications. 10b = commands exist on LUN, but some commands/operations may be restricted by firewall configuration. 11b = reserved [5:4] - LUN 2 (10b) support Note that a BMC uses LUN 10b for message bridging. The message bridging capability is enabled/disabled by enabling/disabling the Send Message command 00b = no commands supported on LUN 2 (10b) 01b = commands follow base IPMI specification. Commands exist on LUN, but no special restriction of command functions. Commands follow standard Optional/Mandatory specifications. 10b = commands exist on LUN, but some commands/operations may be restricted by firewall configuration. 11b = reserved [3:2] - LUN 1 (01b) support [1:0] - LUN 0 (00b) support |
| 3:18 | There are 32 possible Network Function (NetFn) pairs. The following bytes are treated as bitfields where each bit indicates the support for a given Network Function pair. Thus, it takes 4 bytes to fully list support for NetFn values under a given LUN. Since there are four possible LUNs for a management controller, a total of 16 bytes will return the settings for all four possible LUNs. 0b = NetFn pair is not used, 1b = NetFn pair is used byte 1, bit 0 corresponds to NetFn pair 0h,1h for LUN 00b byte 1, bit 7 corresponds to NetFn pair Eh,Fh for LUN 00b byte 2, bit 0 corresponds to NetFn pair 10h,11h for LUN 00b byte 2, bit 7 corresponds to NetFn pair 1Eh, 1Fh for LUN 00b … byte 16, bit 0 corresponds to NetFn pair 30h, 31h for LUN 11b byte 16, bit 7 corresponds to NetFn pair 3Eh, 3Fh for LUN 11b |
命令样例
样例1:查询通道1支持的 IPMI 命令
- 请求:
ipmitool raw 0x06 0x09 0x01 - 响应: