Documentation, Support, and Training
Understanding ILOM on the Switch
Administering ILOM (Web Interface)
Understanding Switch-Specific Commands
activate Command (switch-specific)
deactivate Command (switch-specific)
Sets the state of a FRU LED. Issued on the CMC.
setfruledstate IPMB_address FRU_ID LED_ID|ALL LEDOp [LEDColor] LEDOp = ON | OFF | LOCAL | BLINK onTime offTime | TEST onTime LEDColor = BLUE | RED | GREEN | AMBER | ORANGE | WHITE | NONE | number
where:
IPMB_address is the IPMB bus address of the component.
FRU_ID is the FRU identifier of the component or portion of the component.
LED_ID is the numeric identifier of the LED.
LEDOp is the operation of the LED.
LEDColor is the color of the LED.
onTime is the duration the LED is illuminated in milliseconds.
offTime is the duration the LED is extinguished in milliseconds.
number is the number respective to the color.
This CLIA command enables you to set the state of a specific LED or all LEDs for the given FRU.
The first argument, IPMB_address, is the IPMB address of an IPM controller. The second argument, FRU_ID, is the FRU device ID. The third argument can be either an LED ID (a numerical value) or ALL. In the latter case, the specified operation applies to all LEDs.
The argument LEDOp specifies the operation applied to the FRUs, based on the PICMG 3.0 specification. The operations are defined as follows:
ON – Turns on the LED.
OFF – Turns off the LED.
LOCAL – Reverts to the local control of the LED.
BLINK – Causes the LED to blink, repeatedly turning it on for onTime milliseconds and then turning it off for offTime milliseconds.
TEST – Runs a lamp test for onTime milliseconds.
For the TEST operation, onTime must be less then 12800 ms (12.8 sec). For the BLINK operation, both onTime and offTime values must be within a 10 – 2500 ms range.
The optional parameter LEDColor designates a color, either with a symbolic name or a decimal value. Symbolic names of colors correspond to decimal values in accordance with the PICMG 3.0 specification, as noted in the following list. (If the parameter is not specified, the default LED color is used.)
BLUE = 1
RED = 2
GREEN = 3
AMBER = 4
ORANGE = 6
NONE = 14 (don’t change color)
The following example shows how to enable blinking on LED 3 (white Locator LED) of line card 8 at IPMB address 92 with the setfruledstate command. The on duration is 100 ms. The off duration is 200 ms.
# clia setfruledstate 92 0 3 BLINK 100 200 Pigeon Point Shelf Manager Command Line Interpreter Setting FRU’s led state completed successfully, status = 0x0 #