3Com 3CRWEASYA73 Network Router User Manual


 
6-56
CHAPTER 6: COMMAND LINE INTERFACE
Example
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)
Default Setting
None
Command Mode
Global Configuration
Example
show snmp groups
This command displays the SNMP v3 pre-defined groups.
Outdoor 11a Building to Building(config)#snmp-server filter trapfilter
include .1
Outdoor 11a Building to Building(config)#snmp-server filter trapfilter
exclude .1.3.6.1.2.1.2.2.1.1.23
Outdoor 11a Building to Building(config)#snmp-server filter-assignments
mytraps trapfilter
Outdoor 11a Building to Building(config)#exit
Outdoor 11a Building to Building#show snmp target
Host ID : mytraps
User : chris
IP Address : 192.254.2.33
UDP Port : 162
=============================
Outdoor 11a Building to Building#show snmp filter-assignments
HostID FilterID
mytraps trapfilter
Outdoor 11a Building to Building(config)#