view (Configuring MIB View)
Syntax
viewview-name{oidobject-identifier(include|exclude);}Hierarchy Level
[edit snmp]Description
Define a MIB view. A MIB view identifies a group of MIB objects. Each MIB object in a view has a common OID prefix. Each object identifier represents a subtree of the MIB object hierarchy. The
viewstatement uses a view to specify a group of MIB objects on which to define access. To enable a view, you must associate the view with a community by including theviewstatement at the [edit snmp communitycommunity-name] hierarchy level.
NOTE: To remove an OID completely, use the
delete view all oid oid-numbercommand but omit theincludeparameter.
Options
The remaining statements are explained separately.
Usage Guidelines
Required Privilege Level
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.See Also