Reference Guide

phytool
The phytool allows setting the management phy for management port for speed, duplex auto negotiation, and Loopback; as well as
reading the MAC and MAC EEPROM in the phy.
Tests
CLI options
DellEmc Diag - PHY Tool
version 1.1, x.xx.x.x-x
build, 2017/05/23,
Syntax: phytool <option>
Show the help-text:=
phytool --h (or)
phytool -h
Read the mac address of the interface:=
phytool --read-mac (or)
phytool -R
Write the value to the specified offset:=
phytool --write --offset=<offset> --val=<val> (or)
phytool -w -o <offset> -V <val>
Dump the eeprom contents:=
phytool --eeprom-dump (or)
phytool -x
Dump the register contents:=
phytool --reg-dump (or)
phytool -d
Phy loopback test:=
phytool --lb-test[=no of packets] (or)
phytool -l[=no of packets]
Execute repeatedly command by count:=
phytool --iteration=max/<count> [option1] [option2]... (or)
phytool -I max/<count> [option1] [option2]...
Set the interface with parameters:=
phytool --set-intf --speed=<speed> --duplex=<mode> --autoneg (or)
phytool -s -S <speed> -D <mode> -A
Show the interface settings:=
phytool --show-intf (or)
phytool -a
Usage:=
-h, --h Show the help text
-I, --iteration= Iteration command execution
-R, --read-mac Read the MAC of the interface
-w, --write Write operation
-o, --offset Set the Offset
-V, --val Value to be set
-x, --eeprom-dump Dump the eeprom contents
-d, --reg-dump Dump the register contents
-l, --lb-test= Phy loopback test
-s, --set-intf Set the interface with parameters
-S, --speed= Speed
-D, --duplex= Duplex mode
-A, --autoneg= Auto-negotiation
-a, --show-intf Show the interface settings
Output
root@dellemc-diag-os:/etc/dn/diag# phytool --read-mac
34:17:eb:07:7c:00
root@dellemc-diag-os:/etc/dn/diag# phytool --eeprom-dump
Offset Values
44
Dell EMC DIAG OS tools