show snmp context
12-20 SNMP Configuration
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 12-6 provides an explanation of the command output. For details on using the set snmp
view command to assign variables, refer to “set snmp view” on page 12-21.
show snmp context
Use this command to display the context list configuration for SNMP’s view-based access control.
Syntax
show snmp context
Parameters
None.
Defaults
None.
Mode
Switch command, read-only.
Usage
An SNMP context is a collection of management information that can be accessed by an SNMP
agent or entity. The default context allows all SNMP agents to access all management information
(MIBs). When created using the set snmp access command (“set snmp access” on page 12-17),
other contexts can be applied to limit access to a subset of management information.
Table 12-6 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.