Skip to main content

led command

This command displays and sets the LED states for a specified command target, if this command target supports the LED.

If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or led command errors for a list of error messages that are specific to the led command.

Table 1. led command.

The command table is a multi-row, four-column table where each row describes a CMM CLI command option: column one lists command function, column two provides a detailed command description, column three shows command-option syntax, and column four lists valid command targets.

FunctionWhat it doesCommandTarget (see paths in Command targets)
Display LED states for chassisDisplays various LED states for the chassis.led
Lenovo Flex System chassis:
  • system
Display fault LED state for chassisDisplays fault LED state for the chassis.led
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Display state for compute node LEDsDisplays the state of the compute node LEDs.led
Compute node:
  • blade[x]
  • where x is the node bay number.
Display state for rear LED card LEDsDisplays the state of the rear LED card LEDs of the Lenovo Flex System chassis.led
Rear LED card:
  • mt[x]
  • where x is the rear LED card.
Display state for fanpack LEDsDisplays the state of the fan pack LEDs of the Lenovo Flex System chassis.led
Power supply fan pack:
  • power[x]
  • where x is the power supply (fan pack) bay number.
Display state for fan logic module LEDsDisplays the state of the fan logic module LEDs of the Lenovo Flex System chassis.led
Fan logic module:
  • fanmux[x]
  • where x is the fan logic module bay number.
Display state for fan module fault LEDDisplays the state of the fan module fault LED of the Lenovo Flex System chassis.led
Fan module:
  • blower[x]
  • where x is the fan module bay number.
Display state for I/O module LEDsDisplays state of the LEDs for the specified I/O module.led
I/O module:
  • switch[x]
  • where x is the I/O-bay number.
Turn off information LED
Note
This command option applies only to CMMs installed in a Flex System Enterpise chassis.
Turns off the information LED, that is on the Flex System Enterpise chassis and some chassis components, for the specified command targetled -info off
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis administration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Compute node:
  • blade[x]
  • where x is the node bay number.
Rear LED card:
  • mt[x]
  • where x is the rear LED card.
Turn off compute node information LED
Note
This command option applies only to CMMs installed in a Lenovo Flex System Carrier-Grade chassis.
Turns off the information LED, that is on the specified compute node target in a Lenovo Flex System Carrier-Grade chassis.led -info off
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis administration
See Commands and user authority for additional information.
Compute node:
  • blade[x]
  • where x is the node bay number.
Set identify LED stateSets the state of the identify LED, that is on the Lenovo Flex System chassis and some compute nodes and I/O modules, for the command target.led -loc state
where state is
  • on
  • off
  • blink
Note
A state of blink can only be used for the system and mt command targets and for the compute nodes.
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis administration (for Lenovo Flex System chassis)
  • Blade administration (for compute node)
  • I/O module administration (for I/O modules)
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Rear LED card:
  • mt[x]
  • where x is the rear LED card.
Compute node:
  • blade[x]
  • where x is the node bay number.
I/O module:
  • switch[x]
  • where x is the I/O-bay number.

Example:To display the LED status for the compute node in bay 2, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type

led -T blade[2] 

The following example shows the information that is returned from this command:

system> led -T blade[2]
Sys Brd off
-loc off
Fault LED off
Power LED blink
-info off
Mgmt Crd off
DIMM 1 off
DIMM 4 off
DIMM 9 off
DIMM 12 off
Mezz Crd0 off

system>