36
| HP Lefthand CLI | Commands
createSnmpCommunityString
This command creates an SNMP Community String. The Community String must be the same for all. If no
item exists, the Community String is used, otherwise it is ignored and the Community String of existing items
is used. Either specify IPAddress (ip address or hostname) or an IP mask and IP Subnet.
Availability
: Windows, SAN/iQ
Version
: 9.0
Request Syntax
cliq createSnmpCommunityString login= userName= passWord= ipAddress=
communityString=
login
Required
The IP addresses or DNS-resolvable names of one or more storage
systems
userName
Conditional The authentication user name for the storage system. (Parameters
userName/passWord or groupName must be specified).
passWord
Conditional The password for the storage system. (Parameters userName/passWord
or groupName must be specified).
groupName
Conditional The name of the management group with cached credentials.
(Parameters userName/passWord or groupName must be specified).
communityString
Optional
The SNMP community string.
ipAddress
Optional
This is the IP address or Host Name to be configured.
ipMask
Optional
An IP adderss mask for SNMP notification.
ipSubnet
Optional
An IP Address subnet for SNMP notification.
Example
cliq createSnmpCommunityString login=10.0.1.3 userName=admin
passWord=secret ipAddress=10.0.10.25 communityString=NewString
cliq createSnmpCommunityString ipAddress=10.0.10.25
communityString=NewString
createSnmpTrapTarget
This command creates an SNMP Trap Target. The Community String must be the same for all Trap Targets.
If no Trap Targets exists, the Community String is used, otherwise it is ignored and the Community String of
existing Trap Targets is used.
Availability
: Windows, SAN/iQ
Version
: 9.0
Request Syntax
cliq createSnmpTrapTarget login= userName= passWord= ipAddress= version=
communityString=
login
Required
The IP addresses or DNS-resolvable names of one or more storage
systems
userName
Conditional The authentication user name for the storage system. (Parameters
userName/passWord or groupName must be specified).
passWord
Conditional The password for the storage system. (Parameters userName/passWord
or groupName must be specified).