代码仓
中
Query Black or White List IPMI
更新时间: 2026/08/06
在AtomGit上查看源码

Query Black or White List IPMI ​

Change History ​

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information ​

Function Description ​

Queries the IPMI blacklist or whitelist.

Privilege ​

ReadOnly

Command Information ​

Request Information ​

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer 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.
4Sub command, subcommand=4bh
5Parameter: specifies whether the command is in the blacklist or whitelist.
0: blacklist
1: whitelist
6ID: 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 ​

ByteData Field
1Completion Code
2:4Manufacturer 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.
5M Total number of IPMI commands stored in the blacklist/whitelist M
6: N+6N: 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 0

Response:

text
0f 31 00 93 00 db 07 00 00

Back to Index ​