Users Guide

Table Of Contents
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)