Set FRU LED State
更新时间: 2026/08/06
在Gitcode上查看源码

Set FRU LED State

Change History

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

Basic Information

Function Description

Sets the FRU LED status.

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFnPICMG 2Ch
CMD07h
1PICMG Identifier, Indicates that this is a PICMG-defined group extension command. A value of 00h is used
2FRU Device ID
3LED ID
00h=BLUE LED (Bottom of Board)
01h=LED 1 Topmost
02h=LED 2 Second from top
03h=LED 3 Third from top
04h-FEh=OEM defined LEDs
FFh=All LEDs under management control are addressed
4LED Function
00h=LED off override
01h-FAh=LED BLINKING override. The off duration is specified by the value of this byte and the on duration is specified by the value of byte 5. Both values specify the time in tens of milliseconds (10 ms –2.5 s)
FBh=LAMP TEST state. Turn on LED(s) specified in byte 3 for duration specified in byte 5 (in hundreds of milliseconds) then return to the highest priority state.
FCh=LED state restored to Local Control state
FDh-FEh Reserved
FFh=LED on override
5On-duration
LED on-time in tens of milliseconds if (1 ≤ Byte 4 ≤ FAh)
Lamp Test time in hundreds of milliseconds if (Byte 4=FBh). Lamp Test time value must be less than 128. Other values when Byte 4=FBh are reserved
Otherwise, this field is ignored and is set to 0h
6Color when illuminated. This byte sets the override color when LED Function is 01h–FAh and FFh. This byte sets the Local Control color when LED Function is FCh. This byte can be ignored during Lamp Test or can be used to control the color during the lamp test when LED Function is FBh.
Bit numbers
[7:4] Reserved, is set to 0
[3:0] Hex Value Function
0h Reserved
1h Use BLUE
2h Use RED
3h Use GREEN
4h Use AMBER
5h Use ORANGE
6h Use WHITE
7h-Dh Reserved
Eh Do not change
Fh Use default color

Response Information

ByteData Field
1Completion Code
2PICMG Identifier. Indicates that this is a PICMG-defined group extension command. A value of 00h is used

Command Example

Set the FRU LED status.

Request:

bash
ipmicmd -k "0f 00 2c 07 00 00 02 01 01 05" smi 0

Response:

text
0f 2d 00 07 00 00

Back to Index