Users Guide

Table Of Contents
4–QCS CLI Usage
Performing Management Tasks
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 152 Copyright © 2021 Marvell
Examples:
QCSCLI -t iSCSI -f mac -i 0010181a1b1e "cfg iSCSIMgmt"
displays all iSCSI management keys for the selected iSCSI adapter and their
current settings.
QCSCLI -t iSCSI -f mac -i 0010181a1b1e "cfg iSCSIMgmt
\"IPV4DHCP\"" displays the current setting and all valid settings for the
IPV4DHCP key.
QCSCLI -t iSCSI -f mac -i 0010181a1b1e "cfg iSCSIMgmt
\"IPV4DHCP\"=\"Enable\"" sets the IPV4DHCP key to Enable.
Interactive Mode
Issue the list <view> and select <idx> commands to select the target
device. Then issue the cfg iSCSIMgmt [key | key=value] command to
display and configure the iSCSI parameter for the selected target.
Examples:
cfg iSCSIMgmt displays the current settings of all iSCSI management
parameters for the selected adapter and their current settings.
cfg iSCSIMgmt "IPV4DHCP" displays the current setting and all valid settings
of the IPV4DHCP key.
cfg iSCSIMgmt "IPV4DHCP"="Enable" enables the IPV4DHCP setting.
Configuring the Resource of a Selected Target
CLI Mode
Issue the following command to display and configure the resource parameter of
the selected target:
QCSCLI -t <target type> -f <target format> -i <target ID> cfg
Resource [key | key=value]
Examples:
QCSCLI -t VBD -f mac -i 0010181a1b1d "cfg Resource" displays all
resource reservation keys and their current settings.
QCSCLI -t VBD -f mac -i 0010181a1b1d "cfg Resource
\"CONFIGURABLE\"" displays all configurable Resource Reservation keys with
their current settings and valid settings.
QCSCLI -t VBD -f mac -i 0010181a1b1d "cfg Resource
\"CONFIG\"=\"RSVD\"" sets the "Offload Configuration" to "Reserved
Resources".
QCSCLI -t VBD -f mac -i 0010181a1b1d "cfg Resource
\"TOECONN\"=\"50\"" sets the "TOE Connections" to 50. The command is
valid only when the "Offload Configuration" is in "Reserved Resources".