Users Guide

Table Of Contents
4–QCS CLI Usage
Performing Management Tasks
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 157 Copyright © 2021 Marvell
QCSCLI -t NDIS -f mac -i 0010181a1b1c "diag -c MII -c LED"
runs the MII and LED test for the selected NDIS adapter.
QCSCLI -t VBD -f mac -i 0010181a1b1d "diag -c all -l 5 -v 8"
runs all the tests for 5 times with LED test interval 8 milliseconds for the selected
VBD adapter.
Interactive Mode
Issue the list <view> and select <idx> commands to select the target
device.
Issue the following command to run diagnostics tests for the selected target:
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>
]
Examples:
diag displays all the diagnostics tests available for the currently selected target.
diag -c MII -c LED runs the MII and LED test for the selected NDIS adapter.
diag -c all -l 5 -v 8 runs all the tests for 5 times with LED test interval of
8 milliseconds for the selected VBD adapter.
Running a Cable Diagnostic Test for a Selected Target
CLI Mode
Issue the following command to run the cable diagnostics test for the selected
target. This command is available for NDIS and VBD adapters:
QCSCLI -t <target type> -f <target format> -i <target ID> cablediag
Examples:
QCSCLI -t NDIS -f mac -i 0010181a1b1c "cablediag" runs the cable
diagnostics test for the currently selected NDIS adapter.
QCSCLI -t VBD -f mac -i 0010181a1b1d "cablediag" runs the cable
diagnostics test for the currently selected VBD adapter.
Interactive Mode
Issue the list <view> and select <idx> commands to select the target
device. Then issue the cablediag command to run the cable diagnostics test
for the selected target.
Example:
cablediag runs the cable diagnostics test for the currently selected NDIS
adapter.