12
202
Example
The following example creates a view 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 interface group (this format is specified on the parameters specified in
ifEntry).
switchxxxxxx(config)#
switchxxxxxx(config)#
switchxxxxxx(config)#
12.5
show snmp views
Use the show snmp views Privileged EXEC mode command to display the SNMP
views.
Syntax
viewname
show snmp views [
Parameters
viewname—Specifies the view name. (Length: 1–30 characters)
Default Configuration
If viewname is not specified, all views are displayed.
Command Mode
Privileged EXEC mode
Example
The following example displays the configured SNMP views.
switchxxxxxx# show snmp views
Name
----------------
Default
Default
DefaultSuper
Network Management Protocol (SNMP) Commands
user-view system
snmp-server view
snmp-server view
user-view system.7
user-view ifEntry.*.1
snmp-server view
]
OID Tree
----------------------
iso
snmpNotificationMIB
iso
78-21075-01 Command Line Interface Reference Guide
included
excluded
included
Type
----------
Included
Excluded
Included