System information
General System Configuration
Configuring SNMP
The following example creates a filter ID “trapfilter” that sends only
dot11StationAssociation and dot11StationReAssociation traps to the assigned
receiving target. By default all traps are sent, so you must first “exclude” all
trap objects. You can then “include” the required trap objects to send to the
target. Note that the filter entries are applied in the sequence that they are
defined.
HP420(config)#snmpv3 filter trapfilter exclude .1
HP420(config)#snmpv3 filter trapfilter include
.1.3.6.1.4.1.11.2.14.11.6.4.1.1.7.4.2.1
HP420(config)#snmpv3 filter trapfilter include
.1.3.6.1.4.1.11.2.14.11.6.4.1.1.7.4.2.2
HP420(config)#
Creating SNMP v3 Trap Targets and Assigning Filters. To create a trap
target, use the snmp-server targets command from the CLI configuration mode.
If no filter is assigned to a target, all traps are sent. To assign a filter to a target,
use the snmp-server filter-assignments command. (Note that the filter must first
be configured.) To view the current SNMP targets and filter assignments, use
the show snmpv3 command from the CLI Exec mode.
HP420(config)#snmpv3 targets mytraps 192.168.1.33 chris
HP420(config)#snmpv3 filter-assignments mytraps trapfilter
HP420(config)#
Web: Configuring SNMP v1 and v2c Trap Destinations
The SNMP Trap window on the Configuration tab provides configuration for
SNMP v1 and v2c trap notifications that can be sent to specified management
stations.
The web interface enables you to modify these parameters:
■ Trap Destination (1 to 4): Enables recipients (up to four) of SNMP
notifications. For each destination, enter the IP address or the host name,
and the community name.
■ Trap Destination IP Address: Specifies the IP address or the host name
(from 1 to 20 characters) for the recipient of SNMP notifications.
■ Trap Destination Community Name: The community string sent with
the notification operation. (Maximum length: 32 characters)
■ Trap Configuration: Allows selection of specific SNMP notifications to
send (includes traps for SNMP v1 and v2c hosts and v3 targets). The
following are available:
5-33