User's Manual

Table Of Contents
System Configuration
6-46
6
CLI Commands for Configuring SNMPv3 Trap Filters – To create a notification filter,
use the snmp-server filter command from the CLI configuration mode. Use the
command more than once with the same filter ID to build a filter that includes or
excludes multiple MIB objects. To view the current SNMP filters, use the show
snmp filter command from the CLI Exec mode.
Configuring SNMPv3 Targets
An SNMP v3 notification Target ID is specified by the SNMP v3 user, IP address,
and UDP port. A user-defined filter can also be assigned to specific targets to limit
the notifications received to specific MIB objects. (Note that the filter must first be
configured. see “Configuring SNMPv3 Trap Filters” on page 6-44)
To configure a new notification receiver target, click the New button. A new page
opens to configure the settings (see below). To edit an existing target, select the
radio button next to the entry in the table and then click the Edit button. To delete
targets, select the radio button next to the entry in the table and then click the Delete
button.
When you click on the New or Edit button in the SNMP Targets page, a new page
opens where the target parameters are configured. Define the parameters and
select a filter, if required. Note that the SNMP v3 user name must first be defined
(see “Configuring SNMPv3 Users” on page 6-42). Click Apply.
Enterprise AP(config)#snmp-server filter trapfilter
include .1
7-49
Enterprise AP(config)#snmp-server filter trapfilter
exclude .1.3.6.1.2.1.2.2.1.1.23
Enterprise AP(config)#exit
Enterprise AP#show snmp filter
7-52
Filter: trapfilter
Type: include
Subtree: iso
Type: exclude
Subtree: iso.3.6.1.2.1.2.2.1.1.23
=============================
Enterprise AP#