Get Lisence Info
更新时间: 2026/08/06
在Gitcode上查看源码

Get Lisence Info

Change History

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

Basic Information

Function Description

Obtain the license information.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
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=48h
5Reserved
6Parameter Selector. For details about the value, see Table 1.
7:8Reading offset
9Reading length

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.
5[7:1]: reserved
[0]:
0-last frame
1-casecade frame
6:NData. For details, see Table 1.

Reference Information

Table 1 Definition of GetLisenceInfo Parameter Selector

Parameter SelectorParameter Data
0Obtain the license installation status.
Response:
data1: installation task status
0: not installed
1: installed
128: The installation is in progress.
1Obtaining the License Installation Result
Response:
data1:
0: success
1: failure
255: not installed
2Obtain the license status.
Response:
data1:
0: undefined
1: default status
2: grace state
3: normal
4: emergency
5: commissioning
255: unknown
3Obtaining the License Version Type
Response:
data1:
0: The license is not installed.
1: advanced version
Other values are reserved for future use.
4Obtain the ESN of the board (the value after the board serial number is converted).
Response:
Data1:N: indicates the ESN of a board.
5Obtaining the License Revocation Code
Response:
Data1:N: license revocation code

Command Example

Obtain the license information.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index