led command

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

Table 1. led command
Function What it does Command Valid targets
Display various LED states Displays various LED states. Values returned are:
  • status of all LEDs on the target blade and its subcomponents
  • status of info LED
  • status of location LED (on/off/blink)
  • status of the identification LED of the system for a specified number of seconds
led
                           -T system
                        
                           -T system:blade[x]
                        

where x is the blade server number.

Display state for fanpack fault LED Displays the state of the fan pack fault LED of the BladeCenter HT unit. led
                           -T system:power[x]
                        

where x is the power module (fanpack) number.

Display state for blower fault LED Displays the state of the blower fault LED of the BladeCenter HT unit. led
                           -T system:blower[x]
                        

where x is the blower number.

Display front panel LED state for blade server Displays the state of the front panel LEDs on the specified blade server. led
                           -T system:blade[x]
                        

where x is the blade server number.

Display external port link status LED state for I/O module Displays state of the external and internal port link status LEDs for the specified I/O module. led
                           -T system:switch[x]
                        

where x is the I/O module (switch) bay number.

Display fault LED state

(for BladeCenter HT units only)

Displays the state of the fault LED for the specified command target. Possible return values are:
  • The state of the requested LED is on
  • The state of the requested LED is off
led -e
                           -T system:tap
                        
                           -T system:ncc[x]
                        
                           -T system:mux[x]
                        
                           -T system:mt[x]
                        

where x is the alarm panel module, network clock module, multiplexer expansion module, or media tray number.

Display safe-to-remove LED state

(for BladeCenter HT units only)

Displays the state of the safe-to-remove LED, that is on the BladeCenter unit and some components, for the specified command target. Possible return values are:
  • on
  • off
led -r
                           -T system:tap
                        
                           -T system:ncc[x]
                        
                           -T system:mux[x]
                        

where x is the alarm panel module, network clock module, or multiplexer expansion module.

Display LED state for blade server and all sub-components Displays the state of all LEDs on the specified blade server and its subcomponents. Possible return values are:
  • on
  • off
  • blink
led -l
                           -T system:blade[x]
                        

where x is the blade server number.

Turn off information LED Turns off the information LED, that is on the BladeCenter unit 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 account management (for BladeCenter unit, network clock module, multiplexer expansion module, or media tray)
  • Chassis log management (for BladeCenter unit, network clock module, multiplexer expansion module, or media tray)
  • Chassis administration (for BladeCenter unit, network clock module, multiplexer expansion module, or media tray)
  • Chassis configuration (for BladeCenter unit, network clock module, multiplexer expansion module, or media tray)
  • Blade administration (for blade server)
  • Blade configuration (for blade server)
  • Blade remote presence (for blade server)
See Commands and user authority for additional information.
                           -T system
                        
                           -T system:blade[x]
                        

-T system:ncc[x] (for BladeCenter HT units only)

-T system:mux[x] (for BladeCenter HT units only)

                           -T system:mt[x]
                        

where x is the blade server, network clock module, multiplexer expansion module, or media tray number.

Set location LED state Sets the state of the location LED, that is on the BladeCenter unit and some blade servers, for the command target. led -loc state
where state is
  • on
  • off
  • blink
Note: A state of blink can only be used for the -T system command target and for the blade servers.
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis account management (for BladeCenter unit)
  • Chassis log management (for BladeCenter unit)
  • Chassis administration (for BladeCenter unit)
  • Chassis configuration (for BladeCenter unit)
  • Blade administration (for blade server)
  • Blade configuration (for blade server)
  • Blade remote presence (for blade server)
See Commands and user authority for additional information.
                           -T system
                        
                           -T system:blade[x]
                        

where x is the blade bay number.

Turn on location LED for specified period of time Turns on the location LED, that is on the BladeCenter unit and some blade servers, for a specified period of time before turning it off automatically. led -loc on -d time

where time is the number of seconds the location LED will remain lit.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis account management
  • Chassis log management
  • Chassis administration
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system
                        
Example: To display the failure LED status for the blade server in bay 1, while the BladeCenter HT unit is set as the persistent command environment, at the system> prompt, type
                  led -T system:blade[1] 
               
To display status of the front-panel LEDs for the blade server in bay 1, while the BladeCenter HT unit is set as the persistent command environment, at the system> prompt, type
                  led -T blade[1]
               
To display status of all LEDs for the blade server in bay 1, while the BladeCenter HT unit is set as the persistent command environment, at the system> prompt, type
                  led -l -T blade[1]
               

The following example shows the information that is returned from these commands:

               system> led -T blade[1]
hs21_345678
Error:           off
Information:     off
KVM:             off
MT:              off
Location:      blink
system> led -T blade[1] -l
Component           Label               State               Location
Processor1          CPU1                Off                 System board
Processor2          CPU2                Off                 System board
Blade1              Fault               Off                 Front panel
Blade2              Information         Off                 Front panel
Blade3              Location            Blink               Front panel
Blade4              Power               On                  Front panel
                    KVM                 Off                 Front panel
Blade5              Media Tray          Off                 Front panel
Blade7              Over Temp           Off                 System board
Blade8              N/A                 Off                 System board
Blade1              N/A                 Off                 System board
Storage1            DASD1               Off                 System board
Memory1             DIMM1               Off                 System board
Memory2             DIMM2               Off                 System board
Memory3             DIMM3               Off                 System board
Memory4             DIMM4               Off                 System board
Memory5             DIMM5               Off                 System board
Memory6             DIMM6               Off                 System board
Memory7             DIMM7               Off                 System board
Memory8             DIMM8               Off                 System board
Panel1              N/A                 Off                 System board
Expansion1          N/A                 Off                 FRU
                    N/A                 Off                 FRU
Expansion2          N/A                 Off                 FRU
                    N/A                 Off                 FRU
                    N/A                 Off                 FRU
                    N/A                 Off                 FRU
Expansion3          N/A                 Off                 FRU
system>