SNMP Commands
BreezeMAX Wi² and BreezeACCESS Wi² System Manual 179
Syntax
snmp-server filter <filter-id> <include | exclude> <subtree>
[mask {mask}]
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.
• mask - An optional hexadecimal value bit mask to define objects in the MIB subtree.
Default Setting
None
Command Mode
Global Configuration
Command Usage
• The AP allows up to 10 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 “.”.
• The mask is a hexadecimal value with each bit masking the corresponding ID in the MIB subtree.
A “1” in the mask indicates an exact match and a “0” indicates a “wild card.” For example, a mask
value of 0xFFBF provides a bit mask “1111 1111 1011 1111.” If applied to the subtree
1.3.6.1.2.1.2.2.1.1.23, the zero corresponds to the 10th subtree ID. When there are more subtree
IDs than bits in the mask, the mask is padded with ones.
Example
5.9.11 snmp-server filter-assignments
This command assigns SNMP v3 notification filters to targets. Use the no form to
remove an SNMP v3 filter assignment.
Syntax
snmp-server filter-assignments <target-id> <filter-id>
no snmp-server filter-assignments <target-id>
• target-id - A user-defined name that identifies a receiver of SNMP notifications. (Maximum length:
32 characters)
• filter-id - A user-defined name that identifies an SNMP v3 notification filter. (Maximum length: 32
characters)
Enterprise AP(config)#snmp-server filter trapfilter include .1
Enterprise AP(config)#snmp-server filter trapfilter exclude .1.3.6.1.2.1.2.2.1.1.23