Users Guide

Table Of Contents
3–QCS CLI Commands
Diagnostics
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 83 Copyright © 2021 Marvell
Diagnostics
Configures the parameters of a diagnostic test and runs the test. If no options are
specified, displays all the tests available for the currently selected target. This
command is available on Marvell FastLinQ 41000/45000 Series Adapters and
adapters based on 578xx controllers physical port devices.
Syntax diag
{[-c REG ] [-c MII ] [-c EEP] [-c MEM] [-c CPU] [-c INT] [-c MACLB ] [-c PHYLB]
[-c LED] | [-c ALL]}
[-l <cnt> ]
[-v <LEDIntv> ]
Additional syntax:
QCScli.exe -t phyports -f bdf -i < BDF values> "diag -c all" ' Diag test
Keywords -c
Specifies the individual test type to run, including:
REG
Runs the Control Register test.
MII
Runs the MII Register test.
EEP
Runs the EEPROM test.
MEM
Runs the Internal Memory test.
CPU
Runs the On-Chip CPU test.
INT
Runs the Interrupt test.
MACLB
Runs the MAC Loopback test.
PHYLB
Runs the PHY Loopback test.
LED
Runs the LED test with the LEDIntv value.