HP StorageWorks 2300 Modular Smart Array CLI reference guide (500912-001, January 2009)

102
set snmp-parameters
Description Sets SNMP parameters for event notification.
Syntax
set snmp-parameters [enable crit|warn|info|none] [add-trap-host address]
[del-trap-host address] [trap-host-list trap-host-list] [read-community string]
[write-community string]
Parameters 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.
trap-host-list trap-host-list
Optional. Replaces the current list.
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.
Example Enable critical events only, specify a trap host, and set the community string for read-only access:
# set snmp-parameters enable crit add-trap-host 172.22.4.171 read-community
public
Success: Command completed successfully. - SNMP parameters were changed.
See also show snmp-parameters
test