Set Chassis Info
更新时间: 2026/08/06
在Gitcode上查看源码Set Chassis Info
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Setting Subrack 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 = 0x6Dh |
| 5:6 | Parameter Selector, LS Byte first. For details, see Table 1. |
| 7 | [7:1]: reserved [0]: cascading flag 0: last data 1: middle data |
| 8:9 | Write Offset Offset of the data to be written. The value starts from 0. If the data is long and needs to be written for multiple times, the data must be written from the beginning to the end in sequence. |
| 10 | Length Length of the written data |
| 11:N | Parameter Data. For details, see Table 1. |
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. 82h=attempt to write read-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. |
Reference
Table 1 Subrack configuration parameters
| Overview | parameter selector | parameter data-get | parameter data-set |
|---|---|---|---|
| Template: function description and application scenario | 0xMMNN | Request: Read Offset: 0x0000 Length: 1 Response: End of List: 0 Data: 0: function 0 1: function 1 | Request: Write Offset: 0x0000 Length: 1 Data: 0: function 0 1: function 1 |
| Height Remarks: For a modular device, the value is the height of the corresponding node. | 0x0100 | Request: Read Offset: 0x0000 Length: 2 Response: End of List: 0 Data6, integral part of the height: 1: 1 U high 2: 2 U high Data7, decimal part of the height: 0xF0: height query not supported 0: The height is an integer. 5: The decimal part of the height is 0.5. | Currently, this function can be set only through PSR burning. It cannot be set through IPMI. |
| Device width Remarks: For frame-shaped devices, this information is the width of the corresponding node. | 0x0200 | Request: Read Offset: 0x0000 Length: 1 Response: End of List: 0 Data: 1: half-width 2: full-width 3: Double | Currently, this function can be set only through PSR burning. It cannot be set through IPMI. |
Command Example
xxx.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN