Dell S5232F-ON Open Networking Hardware Diagnostic Guide December 2021 - Page 54

opticstool, Show Optics in System brief

Page 54 highlights

opticstool To check the presence or absence of optic devices, link status, and to read data from the optic devices' EEPROM, use the opticstool. Tests There are no tests on the optic devices. You can run a brief report that displays the optic presence or shows simple data, such as the serial number and device type. For more detailed information, use a device report. CLI options DellEmc Diag - Optics Tool version 1.0, x.xx.x.x-x build, 2017/05/23, Syntax: opticstool Show the help-text:= opticstool --h (or) opticstool -h Show port and optics status:= opticstool --show[=brief] [--int=] (or) opticstool -x[=brief] [-I ] Execute repeatedly command by count:= opticstool --iteration=max/ [option1] [option2]... (or) opticstool -I max/ [option1] [option2]... opticstool --read --int= [--page=] [--index=] [--cnt=] (or) opticstool -r -I [-p ] [-i ] [-C ] opticstool --write --int= --page= --index= --val= (or) opticstool -w -i -p -i -V Usage: -h, --h Show the help text -x, --show= Show operation -F, --int Interface ID -I, --iteration= Iteration command execution -r, --read Read operation -w, --write Write operation ● show -Shows information about the optic devices. With the brief option, only the ID and presence displays. Without the brief option, more details display, such as the serial number and device type. If you specify an interface, more detail displays about that device by reading the EEPROM. Output show=brief output root@dell-diag-os:~# opticstool --show=brief Show Optics in System (brief) Port # Name Status 1 SFP+ 1 PRESENT 2 SFP+ 2 PRESENT 3 SFP+ 3 PRESENT 4 SFP+ 4 PRESENT 5 SFP+ 5 PRESENT 6 SFP+ 6 PRESENT 54 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

opticstool
To check the presence or absence of optic devices, link status, and to read data from the optic devices’ EEPROM, use the
opticstool
.
Tests
There are no tests on the optic devices. You can run a brief report that displays the optic presence or shows simple data, such
as the serial number and device type. For more detailed information, use a device report.
CLI options
DellEmc Diag - Optics Tool
version 1.0, x.xx.x.x-x
build, 2017/05/23,
Syntax: opticstool <option>
Show the help-text:=
opticstool --h
(or)
opticstool -h
Show port and optics status:=
opticstool --show[=brief] [--int=<interface>]
(or)
opticstool -x[=brief] [-I <interface>]
Execute repeatedly command by count:=
opticstool --iteration=max/<count> [option1] [option2]...
(or)
opticstool -I max/<count> [option1] [option2]...
opticstool --read --int=<interface> [--page=<page #>] [--index=<offset>] [--cnt=<length>]
(or)
opticstool -r -I <interface> [-p <page #>] [-i <offset>] [-C <length>]
opticstool --write --int=<interface> --page=<page #> --index=<offset> --val=<value>
(or)
opticstool -w -i <interface> -p <page #> -i <offset> -V <value>
Usage:
-h, --h
Show the help text
-x, --show=
Show operation
-F, --int
Interface ID
-I, --iteration=
Iteration command execution
-r, --read
Read operation
-w, --write
Write operation
show
—Shows information about the optic devices. With the
brief
option, only the ID and presence displays. Without
the
brief
option, more details display, such as the serial number and device type. If you specify an interface, more detail
displays about that device by reading the EEPROM.
Output
show=brief output
root@dell-diag-os:~# opticstool --show=brief
Show Optics in System (brief)
Port #
Name
Status
------
--------
------
1
SFP+ 1
PRESENT
2
SFP+ 2
PRESENT
3
SFP+ 3
PRESENT
4
SFP+ 4
PRESENT
5
SFP+ 5
PRESENT
6
SFP+ 6
PRESENT
54
Dell EMC DAIG-OS tools