Administrator Guide

Switch Management Commands 2131
Syntax
show snmp views [viewname]
viewname — Specifies the name of the view. (Range: 1-30)
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
This command has no user guidelines.
Example
The following examples display the configuration of views with and without a
view name specified.
show trapflags
Use the show trapflags command to display the trap settings.
Syntax
show trapflags [vrf {vrf-name}][ospf|ospfv3|captive-portal]
vrf-name—The name of an existing VRF instance.
console# show snmp views
Name OID Tree Type
----------- ----------------------- ---------
user-view1 1.3.6.1.2.1.1 Included
user-view1 1.3.6.1.2.1.1.7 Excluded
user-view2 1.3.6.1.2.1.2.2.1.*.1 Included