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
3–QCS CLI Commands
Add Host
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 32 Copyright © 2021 Marvell
Add Host
Adds a host to the managed host list by its name or IP address.
Syntax addhost
< [< localhost | <local host name> | <local host IP> ] | [-p <password>
<host name | IP address>] >
[-protocol <rpc | local>
[-persist]
Keywords -p
Specifies the agent password; required to make any configuration changes.
-protocol
Specifies one of the following protocol types:
rpc
Uses the remote procedure call protocol to connect to QLogic Control Suite.
local
Uses the local protocol to connect to QLogic Control Suite on the local
system. The
local option does not require an agent.
-persist
Indicates that the host information will be saved to the persistent hosts file when
you close QLogic Control Suite with the -q command. All the hosts in the saved
file will be automatically connected when QCS CLI starts. To break the operation
of connecting to the persistent remote hosts, press the CTRL+BREAK keys.
Notes The variable host name is the name of a host to be connected. The variable
IP address is the IP address of a host to be connected.
Examples The following example shows the addhost command:
qcscli "addhost 172.28.62.78 -p abc@USA -protocol rpc -persist"
QLogic Control Suite Command Line Interface Utility for Windows v17.0.7.0
...
...............
C Status Name OS Platform
- ------------ -------------------- -------------------------- -------------
1 connected DL380G7-3809 Windows Server 2012 64 bit (x64)