setsnmp

The setsnmp command activates the Simple Network Management Protocol (SNMP) trap notification feature, which sends notifications using SNMP when a problem occurs on a storage unit. Use the command to set the SNMP addresses for the notifications. This command is only used with the DS6000.

Read syntax diagramSkip visual syntax diagram
>>-setsnmp--+-----------------------+--------------------------->
            '- -action--+-enable--+-'   
                        '-disable-'     

>--+---------------------------------+-------------------------->
   '- -info--snmp_IP:port--+-------+-'   
                           '-. . .-'     

>--+--------------------------------+--storage_image_ID--------><
   '- -comname--snmp_community_name-'                     

Parameters

Note: You can view the changes of a processed setsnmp command by issuing the showplex command.
 -action enable | disable
(Optional) Enables or disables the SNMP notification feature.
 -info snmp_IP:port . . .
(Optional) Specifies the SNMP port and IP address where a message is sent in the event of a problem. You must separate the IP address and the port with a colon. Multiple SNMP IP addresses and port pairs must be separated with commas. Do not include white spaces.
Example: 9.11.242.56:500,9.11.242.79:501
 -comname snmp_community_name
(Optional) Specifies the SNMP community name.
storage_image_ID
(Required) Specifies the storage image ID. A storage image ID consists of the values associated with the manufacturer, machine type, and serial number.

Example

Invoking the setsnmp command
dscli>setsnmp –info 9.11.242.7:161 IBM.1750-68FA120 
The resulting output
Date/Time: Sun Aug 11 02:23:49 PST 2004 DS CLI Version: 5.0.0.0 
DS: IBM.1750-68FA120

The SNMP settings were successfully modified
Related concepts
SNMP alerts
Related tasks
Activating the Call Home function using the DS CLI
Related reference
setplex
showplex
setdialhome
setsmtp
setsim
setcontactinfo
showcontactinfo
testcallhome
Generic and specific alert traps
System resource codes and messages
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.