Query Black or White List IPMI
更新时间: 2026/08/06
在Gitcode上查看源码Query Black or White List IPMI
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Queries the IPMI blacklist or whitelist.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, subcommand=4bh |
| 5 | Parameter: specifies whether the command is in the blacklist or whitelist. 0: blacklist 1: whitelist |
| 6 | ID: query ID 0-512 0 and 1 indicate the first IPMI command in the blacklist or whitelist. 2 indicates that the second IPMI command in the blacklist or whitelist is queried. 3 indicates that the third IPMI command in the blacklist or whitelist is queried. ...... |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5 | M Total number of IPMI commands stored in the blacklist/whitelist M |
| 6: N+6 | N: 251 (maximum) Byte 6: length (N) of the first IPMI command in the blacklist and whitelist byte 7: the first IPMI command netfn in the blacklist and whitelist byte 8: the first IPMI command cmd in the blacklist and whitelist Byte 9: the first IPMI command chan_protocol in the blacklist and whitelist Bytes 10-N+6: ipmi_data of the first IPMI command |
Command Example
Query the IPMI blacklist or whitelist.
Request:
bash
ipmicmd -k "0f 00 30 93 db 07 00 4b 00 00" smi 0Response:
text
0f 31 00 93 00 db 07 00 00