C
HAPTER
17
| SNMP Commands
– 155 –
◆ The SNMP v3 user name that is specified in the target must first be
configured using the snmp-server user command.
EXAMPLE
AP(config)#snmp-server target tarname 192.168.1.33 chris 1234
AP(config)#
snmp-server filter This command configures SNMP v3 notification filters. Use the no form to
delete an SNMP v3 filter or remove a subtree from a filter.
SYNTAX
snmp-server filter <filter-id> <include | exclude> <subtree>
no snmp-server filter <filter-id> [subtree]
filter-id - A user-defined name that identifies an SNMP v3
notification filter. (Maximum length: 32 characters)
include - Defines a filter type that includes objects in the MIB
subtree.
exclude - Defines a filter type that excludes objects in the MIB
subtree.
subtree - The part of the MIB subtree that is to be filtered.
DEFAULT SETTING
None
COMMAND MODE
Global Configuration
COMMAND USAGE
◆ The access point allows multiple notification filters to be created. Each
filter can be defined by up to 20 MIB subtree ID entries.
◆ Use the command more than once with the same filter ID to build a
filter that includes or excludes multiple MIB objects. Note that the filter
entries are applied in the sequence that they are defined.
◆ The MIB subtree must be defined in the form “.1.3.6.1” and always
start with a “.”.
EXAMPLE
AP(config)#snmp-server filter trapfilter include .1
AP(config)#snmp-server filter trapfilter exclude .1.3.6.1.2.1.2.2.1.1.23