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.

Function What it does Command Target (see paths in Command targets)
Display LED states for chassis Displays various LED states for the chassis. led
Flex System Enterprise Chassis:
  • system
Display fault LED state for chassis Displays 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 LEDs Displays 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 LEDs Displays the state of the rear LED card LEDs of the Flex System Enterprise Chassis. led
Rear LED card:
  • mt[x]
  • where x is the rear LED card.
Display state for fanpack LEDs Displays the state of the fan pack LEDs of the Flex System Enterprise Chassis. led
Power supply fan pack:
  • power[x]
  • where x is the power supply (fan pack) bay number.
Display state for fan logic module LEDs Displays the state of the fan logic module LEDs of the Flex System Enterprise Chassis. led
Fan logic module:
  • fanmux[x]
  • where x is the fan logic module bay number.
Display state for fan module fault LED Displays the state of the fan module fault LED of the Flex System Enterprise Chassis. led
Fan module:
  • blower[x]
  • where x is the fan module bay number.
Display state for I/O module LEDs Displays 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 Turns off the information LED, that is on the Flex System Enterprise Chassis and some components, for the specified command target 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.
Flex System Enterprise 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.
Set identify LED state Sets the state of the identify LED, that is on the Flex System Enterprise 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 Flex System Enterprise Chassis)
  • Blade administration (for compute node)
  • I/O module administration (for I/O modules)
See Commands and user authority for additional information.
Flex System Enterprise 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 Flex System Enterprise 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>