Users Guide

Table Of Contents
4–QCS CLI Usage
Performing Management Tasks
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 156 Copyright © 2021 Marvell
Interactive Mode
The target type and target identifiers need not be specified. The stats
command is based on the active target selection.
Examples:
stats displays all statistics for the selected NDIS adapter.
stats general displays general statistics for the selected NDIS adapter.
stats IEEE displays IEEE statistics for the selected NDIS adapter.
stats QLASP displays QLASP statistics for the selected NDIS adapter.
stats all displays all the statistics information for the selected NDIS adapter.
stats login displays login statistics information for the selected iSCSI device.
stats instance displays instance statistics information for the selected iSCSI
device.
stats custom displays custom statistics information for the selected iSCSI
device.
stats all displays all the statistics information for the selected iSCSI device.
stats displays all the statistics information for the selected iSCSI device.
stats displays all the statistics information for the selected team.
stats displays all the statistics information for the selected virtual adapter.
Resetting Statistics for a Selected Target
CLI Mode
The resetstats command is not applicable in the CLI mode.
Interactive Mode
Issue the resetstats command to reset all statistical information for a
selected or active NDIS, VNIC, or iSCSI team.
Running Diagnostic Tests for a Selected Target
CLI Mode
Issue the following command to run NIC diagnostics tests for the selected target.
This command is available for NDIS and VBD adapters:
QCSCLI -t <target type> -f <target format> -i <target ID> 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:
QCSCLI -t NDIS -f mac -i 0010181a1b1c "diag" displays all the
diagnostics tests available for the currently selected target.