Write E-lable Data
更新时间: 2026/08/06
在Gitcode上查看源码Write E-lable Data
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to set an electronic label.
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command, subcommand = 04h |
| 2 | FRU Device ID |
| 3 | Area Number 0=Internal Use Area 1=Chassis Info Area 2=Board Info Area 3=Product Info Area 5 = Extend E-Label: indicates the extended electronic label. NOTE: The extended electronic label is written in the format of "key=description" or "key:description". For example, "Airplane = Airbus A380". To delete one of the records, enter "key=", in which key indicates the keyword of the record to be deleted. (This method is not recommended. You are advised to set AreaNumber to 2 and FieldNumber to 6 to write the extended electronic label of the Board domain.) When multiple key=s are written, they are separated by semicolons (😉, for example, "k1=Function;k2=Module;k3: TaiShan." The total length of the written bytes is 501 bytes. The semicolon (😉 is also included in the total length of the written bytes. If the written key= (or key:) is the same as the written key= (or key:), the value corresponding to the previous key is overwritten. 6=System Info Area Others reserved |
| 4 | Field Number Area Number=0: 0: default value 1=Internal Extend E-Lable Area Number=1 0=Chassis Type 1=Chassis Part Number 2=Chassis Serial Number 3=Chassis Extend E-Lable Area Number=2: 0=Mfg. Date/Time 1=Board Manufacturer 2=Board Product Name 3=Board Serial Number 4=Board Part Number 5=FRU File ID 6=Board Extend E-Lable Area Number=3: 0=Product Manufacturer Name 1=Product Name 2=Product Part/Model Number 3=Product Version 4=Product Serial Number 5=Asset Tag 6=FRU File ID 7=Product Extend E-Lable Area Number=5: Set Field Number to 0. Area Number=6: 0=System Manufacturer Name 1=System Product Name 2=System Version 3=System Serial Number |
| 5 | [7]: cascading flag 0: last frame of data 1: middle data [6]: reserved [5:0]: offset of the written data, starting from 0. NOTE: Write data in sequence when they are written as multiple frames. |
| 6 | Length: The maximum write length is 309 (63 + 246). For each area: Maximum length supported by the internal domain: 248; Extend E-Lable area. The maximum length is 501 (255+246). Only 3 bytes can be written to field 0 of the board field. The maximum length of other fields is 48 bytes. Only 1 byte can be written into field 0 of the Chassis domain. The maximum length of other fields is 48 bytes. Only one byte can be written into field 2 of the system field. The maximum length of other fields is 48 bytes. |
| 7:N | Data to write |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
Command Example
Set an electronic label for fan tray 2.
Request:
bash
ipmicmd -k "0f 00 30 90 04 00 00 00 00 02 31 31 " smi 0Response:
text
0f 31 00 90 00