10.5 HP StoreVirtual LeftHand OS Command Line Interface User Guide (AX696-96242, March 2013)

36| HP StoreVirtual 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, SSH
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, SSH
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).