Set shied IPMI command
更新时间: 2026/08/06
在Gitcode上查看源码Set shied IPMI command
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Added the IPMI command table for deleting blacklist and whitelist commands.
Privilege
SecurityMgnt
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, sub command = 3Fh |
| 5 | Parameter Data. For the values, see Table Table 1. |
| 6 | Btye5: Parameter 0 or 1 Option 0: Add an IPMI command. 1: Delete the IPMI command. |
| 7 | ReadWrite 0=read 1=write |
| 8 | NetFunction network function code of the command to be added or deleted |
| 9 | Command word to be added or deleted |
| 10 | IPMI channel ID. The specified command from this channel is added or deleted. When the byte 5 is 0 (blacklist mode): 0x8: BT channel 0xff: all channels When the byte 5 is 1 (whitelist mode): 0x8: BT channel 0xff: invalid channel |
| 11:n | Data of the command to be added or deleted. The maximum data length is 30 bytes. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:04 | 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. |
Command Example
Add the ipmi command to the whitelist.
Request:
bash
ipmitool raw 0x30 0x93 0xDB 0x07 0x00 0x3f 0x01 0x00 0x00 0x30 0x94 0x8 0xdb 0x07 0x00 0x09Response:
text
db 07 00