CLI Commands for Configuring SNMPv3 Targets
To create a notification target, use the snmp‐server targets command from the CLI configuration
mode. To assign a filter to a target, use the snmp‐server filter‐assignment command. To view the
current SNMP targets, use the show snmp target command from the CLI Executive mode. To
view filter assignment to targets, use the show snmp filter‐assignments command.
Example
RoamAbout 4102(config)#snmp-server targets mytraps 192.168.1.33 chris
RoamAbout 4102(config)#snmp-server filter-assignment mytraps
RoamAbout 4102(config)#exit
RoamAbout 4102#show snmp target
Host ID
User
IP Address
UDP Port
=============================
RoamAbout 4102#show snmp filter-assignments
RoamAbout 4102#
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 Executive mode.
Example
RoamAbout 4102(config)#snmp-server filter trapfilter include .1
RoamAbout 4102(config)#snmp-server filter trapfilter
.1.3.6.1.2.1.2.2.1.1.23
RoamAbout 4102(config)#exit
RoamAbout 4102#show snmp filter
Filter: trapfilter
Type: include
Subtree: iso
Type: exclude
Subtree: iso.3.6.1.2.1.2.2.1.1.23
=============================
RoamAbout 4102#
: mytraps
: chris
: 192.168.1.33
: 162
HostID
mytraps
FilterID
trapfilter
RoamAbout RBT-4102 Wireless Access Point Configuration Guide 4-37
trapfilter
exclude
SNMP