Set Snmp-Parameters - HP P2000 G3 Cli Reference Manual

Msa system
Hide thumbs Also See for P2000 G3:
Table of Contents

Advertisement

set snmp-parameters

Description Sets SNMP parameters for event notification. To enable or disable SNMP requests to the MIB use the
set protocols
Syntax
set snmp-parameters
[enable crit|error|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|error|warn|info|none
Optional. Sets the level of trap notification:
crit: Sends notifications for Critical events only.
error: Sends notifications for Error and Critical events.
warn: Sends notifications for Warning, Error, and Critical events.
info: Sends notifications for 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 that will receive traps. 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 a community string for read-only access. This value is also included in traps that are
sent. The value is case sensitive; can include any character except left angle bracket, single quote,
and double quote; and can have a maximum of 31 bytes.
write-community string
Optional. Sets a community string for write access. The value is case sensitive; can include any
character except left angle bracket, single quote, and double quote; and can have a maximum of 31
bytes.
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.(2011-10-11 14:43:26)
See also
• set protocols
• show snmp-parameters
• test
180 Alphabetical list of commands
command.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents