3Com 3CRWEASYA73 Network Router User Manual


 
6-55
Using the Command Line Interface
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 access point 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.