
Command Reference
28
HP StorageWorks NAS 8000 Command Reference
■
inParam[1] = Value
getNetworkSnmpTrapDestPort
Returns the port set for the SNMP trap (default: 162).
■
inParam[0] = Destination number
■
outParam[0] = Port
setNetworkSnmpTrapDestPort
Sets the port number for the SNMP trap (default: 162).
■
inParam[0] = Destination number
■
inParam[1] = Port
setNetworkSnmpTrapDestStatus
Sets the Status for this Trap Destination. See
www.hp.com/support/nas8000
for information
on trap status.
■
inParam[0] = Destination number
■
inParam[1] = Value
getNetworkSnmpTrapDestStatus
Returns the Status for this Trap Destination. See
www.hp.com/support/nas8000
for
information on trap status.
■
inParam[0] = Destination number
■
outParam[0] = Value
getNetworkSnmpTrapDestList
Returns the complete list of Trap Destination Addresses.
■
outParam[0:N] = List of trap destination hostnames or IP addresses
setNetworkSnmpTrapDestList
Sets the complete list of Trap Destination Addresses. Deletes all current Trap Destinations,
and creates new ones based on this list of addresses. (Status is set to “active”; all other
parameters are not created, and will return defaults).
■
inParam[0:N] = List of trap destination hostnames or IP addresses
getNetworkSnmpActiveTrapDestList
Returns the complete list of “active” Trap Destinations.
■
outParam[0:N] = List of trap destination hostnames or IP addresses
getNetworkSnmpCommunityString
Returns the SNMP community name for this device (default: public).
■
outParam[0] = SNMP community name
setNetworkSnmpCommunityString
Sets the SNMP community name for this device (default: public).
■
inParam[0] = SNMP community name