
System Configuration
6-50
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-48)
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.
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
Mask: None
Type: exclude
Subtree: iso.3.6.1.2.1.2.2.1.1.23
Mask: None
=============================
Enterprise AP#
Kommentare zu diesen Handbüchern