Dell S5212F-ON Open Networking Hardware Diagnostic Guide December 2021 - Page 81

Diagnostic package

Page 81 highlights

CLI options Syntax: ./updatetool Print the Help-Text:= updatetool --h (or) updatetool -h Tool Version:= updatetool --version (or) updatetool -v Device function list:= updatetool --dev= [--index=IOM Slot] --list (or) updatetool -D [-i IOM Slot] -l Device Region:= updatetool --dev= --set_region= (or) updatetool -D -S updatetool --dev= --get_region (or) updatetool -D -G Device Version:= updatetool --dev= [--index=IOM Slot] --device_version (or) updatetool -D [-i IOM Slot] -V Update the Device:= updatetool --dev= [--index=IOM Slot] --update -- file= (or) updatetool -D [-i IOM Slot] -U -e filename Read the Device:= updatetool --dev= [--index=IOM SLOT] --read -file= updatetool -D [-i IOM SLOT] -r -e filename Device Flash Info:= updatetool --dev= [--index=IOM SLOT] --flash_info updatetool -D [-i IOM SLOT] -F Usage:= -h, --h Show the help text -v, --version Display version -l, --list list device function -N, --nvram save nvram -S, --set_region set device region -G, --get_region get device region -D, --dev device name -i, --index device Index -V, --device_version show device version -r, --read= Read operation -e, --file= device file -f, --config= To specify the location of the config file e.g. /etc/dn/diag/ -u, --update update device -F, --flash_info= show flash info Output root@dellemc-diag-od~#updatetool --device_version --dev=CPU_CPLD CPU_CPLD version: System CPLD Version : offset 0x00 = 0xc 7: 4 Major Revision = 0 3: 0 Minor Revision = c Scratch Register : offset 0x01 = 0x0 Diagnostic package The diagnostic applications, libraries, and configurations are packaged in a debian package called dn-diags-{PLATFORM}{PACKAGE_VERSION}.deb. Executables are placed in /opt/dellemc/diag/bin, libraries are placed in /opt/dellemc/diag/lib, and configurations are placed in /etc/dn/diag. To install the package on the switch, use the dpkg --install command. Dell EMC DAIG-OS tools 81

  • 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

CLI options
Syntax: ./updatetool <option>
Print the Help-Text:=
updatetool --h
(or)
updatetool -h
Tool Version:=
updatetool --version
(or)
updatetool -v
Device function list:=
updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS|ALL> [--index=IOM Slot] --list (or)
updatetool -D <devname | ALL> [-i IOM Slot] -l
Device Region:=
updatetool --dev=<MAIN-BMC|BIOS> --set_region=<primary|backup> (or)
updatetool -D <devname> -S <region>
updatetool --dev=<BMC|BIOS> --get_region (or)
updatetool -D <devname> -G
Device Version:=
updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS|ALL> [--index=IOM Slot] --device_version (or)
updatetool -D <devname | ALL> [-i IOM Slot] -V
Update the Device:=
updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS> [--index=IOM Slot] --update --
file=<filename> (or)
updatetool -D <devname> [-i IOM Slot] -U -e filename
Read the Device:=
updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS> [--index=IOM SLOT] --read -file=<filename>
updatetool -D <devname> [-i IOM SLOT] -r -e filename
Device Flash Info:=
updatetool --dev=<CPLD|FPGA|MAIN-BMC|BIOS> [--index=IOM SLOT] --flash_info
updatetool -D <devname> [-i IOM SLOT] -F
Usage:=
-h, --h
Show the help text
-v, --version
Display version
-l, --list
list device function
-N, --nvram
save nvram
-S, --set_region
set device region
-G, --get_region
get device region
-D, --dev
device name
-i, --index
device Index
-V, --device_version show device version
-r, --read=
Read operation
-e, --file=
device file
-f, --config=
To specify the location of the config file e.g. /etc/dn/diag/
<file_name>
-u, --update
update device
-F, --flash_info=
show flash info
Output
root@dellemc-diag-od~#updatetool --device_version --dev=CPU_CPLD
CPU_CPLD version:
System CPLD Version : offset 0x00 = 0xc
7: 4 Major Revision = 0
3: 0 Minor Revision = c
Scratch Register : offset 0x01 = 0x0
Diagnostic package
The diagnostic applications, libraries, and configurations are packaged in a debian package called
dn-diags-{PLATFORM}-
{PACKAGE_VERSION}.deb
.
Executables are placed in
/opt/dellemc/diag/bin
, libraries are placed in
/opt/dellemc/diag/lib
, and configurations
are placed in
/etc/dn/diag
. To install the package on the switch, use the
dpkg --install <package_name>
command.
Dell EMC DAIG-OS tools
81