Get Rack Info
更新时间: 2026/08/06
在Gitcode上查看源码Get Rack Info
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtaining Cabinet Configuration Parameters
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 94h |
| 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 = 0x6 Ah |
| 5:6 | Parameter selector, LS Byte first. For details, see Table 1. |
| 7:8 | Indicates the read offset. The value starts from 0 and the LS byte is the first. |
| 9 | Length: length of the data to be read. The maximum value is 250bytes. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code 80h= parameter not supported. |
| 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. |
| 5 | End of List indicates whether the data reading is complete, Long data may need to be read multiple times. This field is used to check whether data is completely read. [7:1]: reserved [0]: End of list 0=last data 1=middle data |
| 6:N | Data. For details, see Table 1. |
Command Example
xxx.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN