Set Info
更新时间: 2026/08/06
在Gitcode上查看源码Set Info
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Settings.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 40h |
| 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 [Bit 0]: 0 -> Write [Bit 1-7]: 0x00 ->Cpu Info 0x01 ->Mem Info 0x02 ->HardDisk Info 0x03 ->Pcie Info .... |
| 5:6 | Record ID, LS Byte first(start form 0) |
| 7:N | Info. For details, see the attribute part of the information content definition. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code 80h=parameter not supported. 81h=attempt to set the 'set in progress' value (in parameter #0) when not in the 'set complete' state. (This completion code provides a way to recognize that another party has already 'claimed' the parameters) 82h=attempt to write read-only parameter 83h=attempt to read write-only parameter |
| 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:6 | Next Record ID, LS Byte first (return FFFFh if the record just returned is the last record.) Note: FFFFh is not allowed as the record ID for an actual record. I.e. the Record ID in the Record Data for the last record should not be FFFFh |
| 7:N | Record Data, 16 bytes for entire record |
Command Example
Set information.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN