Get Lisence Info
更新时间: 2026/08/06
在Gitcode上查看源码Get Lisence Info
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtain the license information.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 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=48h |
| 5 | Reserved |
| 6 | Parameter Selector. For details about the value, see Table 1. |
| 7:8 | Reading offset |
| 9 | Reading length |
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 | [7:1]: reserved [0]: 0-last frame 1-casecade frame |
| 6:N | Data. For details, see Table 1. |
Reference Information
Table 1 Definition of GetLisenceInfo Parameter Selector
| Parameter Selector | Parameter Data |
|---|---|
| 0 | Obtain the license installation status. Response: data1: installation task status 0: not installed 1: installed 128: The installation is in progress. |
| 1 | Obtaining the License Installation Result Response: data1: 0: success 1: failure 255: not installed |
| 2 | Obtain the license status. Response: data1: 0: undefined 1: default status 2: grace state 3: normal 4: emergency 5: commissioning 255: unknown |
| 3 | Obtaining the License Version Type Response: data1: 0: The license is not installed. 1: advanced version Other values are reserved for future use. |
| 4 | Obtain the ESN of the board (the value after the board serial number is converted). Response: Data1:N: indicates the ESN of a board. |
| 5 | Obtaining 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 0Response:
text
0f MM NN