Get Slot Extend-string
更新时间: 2026/08/06
在Gitcode上查看源码Get Slot Extend-string
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains extended information about a specified slot.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 91h |
| 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, subcommand=20h |
| 5 | para select 1: slot number 2: slot number + extended character string corresponding to the slot number |
| *6 | This parameter exists when para select is set to 2. slot id (0–255): indicates the slot number of the board, which corresponds to the slot number of the X6000, E6000, or X8000 and starts from 0. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 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 | slot id (0–255): indicates the slot ID of the board. The definition is as follows: For a board with a single BMC and a single OS, the entire byte indicates the slot number of the board. For example, the slot number of the X6000, E6000, or X8000 starts from 0.Board with a single BMC and multiple OSs: Bit0-Bit4: board slot ID. 0 corresponds to the first slot, and 0-15 correspond to slots 1-16.Bit5-Bit7: OS system ID. 0 corresponds to the first OS, and 0-7 correspond to 0-7. |
| *7:N | This parameter exists when para select is set to 2. extend string. Set this parameter to the actual length. The maximum length is 10 characters. |
Command Example
Obtain the slot number (for HPC servers).
Request:
bash
# The query result of system 2 in slot 13 is as follows:
[root@A001H0S02N02 ~]# dmidecode -t baseboard | grep "Location In Chassis"
Location In Chassis: 44
[root@A001H0S02N02 ~]# ipmicmd -k "0f 00 30 91 DB 07 00 20 1" smi 0
0f 31 00 91 00 db 07 00 2c
[root@A001H0S02N02 ~]# ipmicmd -k "0f 00 30 94 db 07 00 6E" smi 0
0f 31 00 94 00 02
[root@A001H0S02N02 ~]#
# The query result of slot 13 in system 7 is as follows:
[root@localhost ~]# ipmicmd -k "0f 00 30 91 DB 07 00 20 1" smi 0
0f 31 00 91 00 db 07 00 cc
[root@localhost ~]#
[root@localhost ~]# ipmicmd -k "0f 00 30 94 db 07 00 6E" smi 0
0f 31 00 94 00 07
[root@localhost ~]#Response:
text
ipmicmd -k "0f 00 30 91 DB 07 00 20 1" smi 0