Dell PowerSwitch S4112F-ON Open Networking Hardware Diagnostic Guide April 201 - Page 46

Outputlist output

Page 46 highlights

Get the state of (specific) LED(s):= ledtool --get [--led=] (or) ledtool -g [-D ] Set the state of specific LED(color and blink):= ledtool --set --led= [--instance=] {--state= | --val=} (or) ledtool -s -D [-I ] {-T | -V } Execute repeatedly command by count:= ledtool --iteration=max/ [option1] [option2]... (or) ledtool -I max/ [option1] [option2]... Test using config file:= ledtool --test [--config=] (or) ledtool -t [-f ] Syntax: ledtool -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/ [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 Output list output root@dell-diag-os:/etc/dn/diag# ledtool --list Power Led : options green amber flashing-amber off System Led : options amber flashing-green flashing-amber green Fan Led : options 46 Dell EMC DAIG-OS tools

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

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
Output
list output
root@dell-diag-os:/etc/dn/diag# ledtool --list
Power Led
: options
green amber flashing-amber off
System Led
: options
amber flashing-green flashing-amber green
Fan Led
: options
46
Dell EMC DAIG-OS tools