Users Guide

Table Of Contents
4–QCS CLI Usage
Performing Management Tasks
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 148 Copyright © 2021 Marvell
Selecting a Target for the Command to Operate On
CLI Mode
Use the -t, -f, and -i options to uniquely select the target for the following
<command string> to operate on it. For example:
QCSCLI -t NDIS -f mac -i 0010181a1b1c info displays the adapter
information of the selected NDIS adapter whose current MAC address is
00:10:18:1a:1b:1c.
QCSCLI -t VBD -f mac -i 0010181a1b1d info displays the adapter
information of the selected VBD adapter whose current MAC address is
00:10:18:1a:1b:1d.
QCSCLI -t iSCSI -f mac -i 0010181a1b1e info displays the adapter
information of the selected iSCSI adapter whose current MAC address is
00:10:18:1a:1b:1e.
QCSCLI -t TEAM -f name -i Team1 "info" displays the team information
of the selected (Team1) team.
QCSCLI -t VNIC -f name -i VLAN1 "info" displays the virtual adapter
information which is identified by a VLAN name (VLAN1).
Interactive Mode
select [<index>] selects the target from the target adapters of the current
view.
showsel displays the selected target adapter. Any command entered after this
command applies to the selected target adapter.
list NDIS and select 3 selects the third adapter from the list of all target
adapters in the NDIS view.
list devcon and select 5 selects the fifth adapter from the list of all target
adapters of devcon view.
Selecting a Target in Interactive Mode
Interactive Mode
Issue the select [<index>] command to select the target from the
target0 adapters of the current view.
Issue the showsel command to display the selected target adapter. Any
command entered after this command applies to the selected target adapter.
Examples:
list NDIS and select 3 selects the third adapter from the list of all target
adapters in the NDIS view.
list devcon and select 5 selects the fifth adapter from the list of all target
adapters in the devcon view.