Associating MIB Views with an SNMP User Group
MIB views define access privileges for members of a group. Separate views can be applied for each SNMP operation (read, write, and notify) within each security model (usm, v1, and v2c) and each security level (authentication, none, and privacy) supported by SNMP.
To associate MIB views with an SNMP user group, include the following statements at the
[edit snmp v3 vacm access groupgroup-namedefault-context-prefix security-mode (any | usm | v1 | v2c) security-level (authentication | none | privacy)]hierarchy level:[edit snmp v3 vacm access groupgroup-namedefault-context-prefixsecurity model (any | usm | v1 | v2c) security-level (authentication | none |privacy)]notify-viewview-name;read-viewview-name;write-viewview-name;
NOTE: You must associate at least one view (notify, read, or write) at the
[edit snmp v3 vacm access groupgroup-namedefault-context-prefix security-model (any | usm | v1 | v2c) security-level (authentication | none | privacy)]hierarchy level.You must configure the MIB view at the
[edit snmp viewview-name] hierarchy level. For information about how to configure MIB views, see Configuring MIB Views.This section describes the following topics related to this configuration: