show snmp context
8-20 SNMP Configuration
Example
ThisexampleshowshowtodisplaySNMPMIBviewconfigurationinformation:
C2(su)->show snmp view
--- SNMP MIB View information ---
View Name = All
Subtree OID = 1
Subtree mask =
View Type = included
Storage type = nonVolatile
Row status = active
View Name = All
Subtree OID = 0.0
Subtree mask =
View Type = included
Storage type = nonVolatile
Row status = active
View Name = Network
Subtree OID = 1.3.6.1.2.1
Subtree mask =
View Type = included
Storage type = nonVolatile
Row status = active
Table 8‐7providesanexplanationofthecommandoutput.Fordetailsonusingthesetsnmpview
commandtoassignvariables,referto“setsnmpview”onpage 8‐21.
show snmp context
UsethiscommandtodisplaythecontextlistconfigurationforSNMP’sview‐basedaccesscontrol.
Syntax
show snmp context
Parameters
None.
Defaults
None.
Table 8-7 show snmp view Output Details
Output Field What It Displays...
View Name Name assigned to a MIB view.
Subtree OID Name identifying a MIB subtree.
Subtree mask Bitmask applied to a MIB subtree.
View Type Whether or not subtree use must be included or excluded for this view.
Storage type Whether storage is in nonVolatile or Volatile memory
Row status Status of this entry: active, notInService, or notReady.