Reference Guide

CLI options
DellEmc Diag - Led Tool
version 1.0, x.xx.x.x-x
build, 2017/05/23,
Usage:
List the LEDs:=
ledtool --list (or)
ledtool -l
Get the state of (specific) LED(s):=
ledtool --get [--led=<led>] (or)
ledtool -g [-D <led>]
Set the state of specific LED(color and blink):=
ledtool --set --led=<led> [--instance=<instance>] {--state=<state> | --val=<value>} (or)
ledtool -s -D <led> [-I <instance>] {-T <state> | -V <value>}
Execute repeatedly command by count:=
ledtool --iteration=max/<count> [option1] [option2]... (or)
ledtool -I max/<count> [option1] [option2]...
Test using config file:=
ledtool --test [--config=<config_file>] (or)
ledtool -t [-f <config_file>]
Syntax: ledtool <option>
-h, --h Show the help text
-l, --list List the LEDs
-g, --get Get operation
-s, --set Set operation
-t, --test Test using the pre-programmed configuration or use supplied config
-D, --led= LED
-I, --iteration= Iteration command execution
-S, --instance=, Instance
-T, --state=, State of the LED
-V, --val=, Value to be set
-f, --config=, To specify the location of the config file e.g. /etc/dn/diag/<file_name>
[led] selections are:
Power
States: green amber flashing-amber off
System
States: amber flashing-green flashing-amber green
Fan
States: green flashing-amber off
Beacon
States: flashing-blue off
CPLD2-Mode
States: normal-mode test-mode
Port#1-18-Amber
States: off flashing-amber-fast amber flashing-amber
Port#1-18-Green
States: off flashing-green-fast green flashing-green
CPLD3-Mode
States: normal-mode test-mode
Port#19-36-Amber
States: off flashing-amber-fast amber flashing-amber
Port#19-36-Green
States: off flashing-green-fast green flashing-green
CPLD4-Mode
States: normal-mode test-mode
Port#37-48-Amber
States: off flashing-amber-fast amber flashing-amber
Port#37-48-Green
States: off flashing-green-fast green flashing-green
Dell EMC DIAG OS tools
33