Users Guide

Table Of Contents
4–QCS CLI Usage
Performing Management Tasks
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 158 Copyright © 2021 Marvell
Running a Network Diagnostic Test for a Selected Target
CLI Mode
Issue the following command to run a cable diagnostics test for the selected
target. This command is available for NDIS and virtual adapters:
QCSCLI -t <target type> -f <target format> -i <target ID>
networkdiag [-p <IP address>]
Examples:
QCSCLI -t NDIS -f mac -i 0010181a1b1c "networkdiag -p
192.168.1.5" runs the network test for the currently selected NDIS adapter.
QCSCLI -t VNIC -f mac -i 0010181a1b1c "networkdiag" runs the
network test for the currently selected virtual adapter. Because no IP address is
specified, QCS CLI uses the gateway address for the test.
Interactive Mode
Issue the list <view> and select <idx> commands to select the target
device. Then issue networkdiag [-p <IP address>] to run cable
diagnostics test for the selected target.
Examples:
networkdiag -p 192.168.1.5 runs the network test for the currently
selected NDIS adapter.
networkdiag runs the network test for the currently selected virtual adapter.
Connecting to an FCoE Target
CLI Mode
N/A
Interactive Mode
Content unavailable at the time of publication.
Connecting to an iSCSI Target
CLI Mode
N/A
Interactive Mode
Issue the list devcon, adddiscoveryportal, listdiscoveryportals,
and list iscsitargets commands. Then select an iSCSI target, login
to the target, and list iscsitargets again to ensure that it is connected.
Lastly, check the iSCSI target and session info.
Example:
list devcon