Configuring SNMP MIB Views
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 5‐20), other
contexts can be applied to limit access to a subset of management information and to permit
SNMP access from one or more routing modules.
Example
This example shows how to display a list of all SNMP contexts known to the device:
Matrix(rw)->show snmp context
--- Configured contexts:
default context (all mibs)
router
set snmp view
Use this command to set a MIB configuration for SNMPv3 view‐based access (VACM).
Syntax
set snmp view viewname viewname subtree subtree [mask mask] [included | excluded]
[volatile | nonvolatile]
Parameters
viewname viewname
subtree subtree
mask mask
included | excluded
volatile | nonvolatile
Defaults
•
If not specified, mask will be set to 255.255.255.255
•
If not specified, subtree use will be included.
•
If storage type is not specified, nonvolatile (permanent) will be applied.
Mode
Switch command, Read‐Write.
5-24 SNMP Configuration
Specifies a name for a MIB view.
Specifies a MIB subtree name.
(Optional) Specifies a bitmask for a subtree.
(Optional) Specifies subtree use (default) or no subtree use.
(Optional) Specifies the use of temporary or permanent (default)
storage.
set snmp view