Users Guide
Table Of Contents
- Table of Contents
- Preface
- 1 Introduction
- 2 Installing and Launching
- 3 QCS CLI Commands
- General Syntax and Keywords
- Command List
- Commands by Item View
- Command Details
- Add (Team Configuration)
- Add Discovery Portal
- Add Host
- Add iSNS Server
- Add Target
- Boot Configuration
- Cable Diagnostics
- Configure Advanced Settings
- Configure Advanced FCoE Settings
- Configure Advanced Adapter Settings
- Configure Advanced Port Settings
- Configure iSCSI Boot
- Configure iSCSI Initiator
- Configure iSCSI Management
- Configure iSCSI Management (on a Linux Host)
- Configure iSCSI Secret
- Configure Licenses
- Configure Multifunction
- Configure Resource
- Configure SR-IOV
- Configure System TOE
- Create Multiple NPIV Ports
- Create NPIV Port
- Diagnostics
- Discover Host
- Fallback
- Help
- Information (Adapter)
- Information (Team)
- List (Targets)
- List Discovery Portals
- List iSNS Servers
- Log
- Login
- Logout
- Network Diagnostics
- Ping Test
- Quit
- Refresh
- Refresh All
- Refresh Discovery Portal
- Refresh iSNS Server
- Remove (Team)
- Remove All Hosts
- Remove Discovery Portal
- Remove Host
- Remove iSNS Server
- Remove Multiple NPIV Ports
- Remove NPIV Port
- Remove Persistent Target
- Remove Target
- Reset Session Statistics
- Reset Statistics
- Restore (Team)
- Save (Team)
- Select (Target)
- Session Statistics
- Sessions
- Show Selected (Target)
- Statistics
- Unassigned (Adapters)
- Upgrade (Firmware)
- Version
- Legacy Commands
- 4 QCS CLI Usage
- Using Interactive Mode
- Performing Management Tasks
- Listing Target Adapters of Different Views in CLI Mode
- Obtaining Context Help for each Command
- Switching Between Different Views of Target Adapters
- Selecting a Target for the Command to Operate On
- Selecting a Target in Interactive Mode
- Getting Information for a Selected Target
- Configuring Advanced Parameters for a Selected Target
- Displaying Licenses for a Selected Target
- Configuring the iSCSI Parameter for a Selected Target
- Configuring the Resource of a Selected Target
- Configuring OoB Management for a Selected Target
- Configuring Systoe for the System
- Getting Statistics for a Selected Target
- Resetting Statistics for a Selected Target
- Running Diagnostic Tests for a Selected Target
- Running a Cable Diagnostic Test for a Selected Target
- Running a Network Diagnostic Test for a Selected Target
- Connecting to an FCoE Target
- Connecting to an iSCSI Target
- Creating a Team Configuration
- Restoring a Team Configuration
- Saving a Team Configuration
- Removing One or More Teams
- Displaying Unassigned Adapters
- Switching Between Primary and Standby Adapters in a Team
- Connecting an iSCSI Target
- Refreshing a Host
- Performing Other Common Tasks
- A Security Considerations
- B Configuration File Examples
- C Third-party Licenses
- D Exit Codes
- E Revision History
- Glossary
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".