Hp StorageWorks 2000 Family Modular Smart Array CLI reference guide (481600-002, May 2008)

Chapter 3 Command Descriptions 149
set snmp-parameters
Description
Configures SNMP notification of events.
Input
Example
Enable critical events only, specify a trap host, and set the community string for
read-only access.
Related Commands
“show snmp-parameters” on page 220
set snmp-parameters [enable crit|warn|info|none] [add-trap-host
address] [del-trap-host address] [read-community string]
[write-community string]
Parameter Description
enable crit|warn|info
|none
Optional. Sets the level of trap notification:
crit: Sends critical events only.
warn: Sends all critical events and warnings.
info: Sends all events.
none: All events are excluded from trap
notification and traps are disabled.
add-trap-host address Optional. Specifies the IP address of a destination
host to send traps to. Three trap hosts can be set.
del-trap-host address Optional. Deletes a trap destination host.
read-community string Optional. Sets an alphanumeric community string
for read-only access.
write-community string Optional. Sets an alphanumeric community string
for write access.
# set snmp-parameters enable crit add-trap-host 172.22.4.171
read-community public
Success: SNMP parameters changed.