Show Snmp Filters - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

45
875
Example
The following example creates a filter that includes all objects in the MIB-II system
group except for sysServices (System 7) and all objects for interface 1 in the
MIB-II interfaces group (this format depends on the parameters define din ifEntry).
switchxxxxxx(config)#
switchxxxxxx(config)#
switchxxxxxx(config)#

45.13 show snmp filters

To display the defined SNMP filters, use the show snmp filters Privileged EXEC
mode command.
Syntax
filtername
show snmp filters [
Parameters
filtername—Specifies the filter name. (Length: 1–30 characters)
Default Configuration
If filtername is not defined, all filters are displayed.
Command Mode
Privileged EXEC mode
Example
The following example displays the configured SNMP filters.
switchxxxxxx#
show snmp filters user-filter
Name
OID Tree
------------
---------------------
user-filter
1.3.6.1.2.1.1
user-filter
1.3.6.1.2.1.1.7
user-filter
1.3.6.1.2.1.2.2.1.*.1
Network Management Protocol (SNMP) Commands
snmp-server filter f1 system included
snmp-server filter f2 system.7 excluded
snmp-server filter f3 ifEntry.*.1 included
]
OL-32830-01 Command Line Interface Reference Guide
Type
---------
Included
Excluded
Included

Advertisement

Table of Contents
loading

Table of Contents