Get Slot Extend-string
更新时间: 2026/08/06
在Gitcode上查看源码

Get Slot Extend-string

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtains extended information about a specified slot.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD91h
1:3Manufacturer 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.
4Sub command, subcommand=20h
5para select
1: slot number
2: slot number + extended character string corresponding to the slot number
*6This 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

ByteData Field
1Completion Code
2:4Manufacturer 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.
5slot 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:NThis 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

Back to Index