[Contents] [Prev] [Next] [Index] [Report an Error]

view

Syntax

view view-name {
oid object-identifier (include | exclude);
}

Hierarchy Level

[edit snmp]

Release Information

Statement introduced before JUNOS Release 7.4.

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 view statement 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 the view statement at the [edit snmp community community-name] hierarchy level. For SNMPv3, you must associate the view with a group name configured at the [edit snmp v3 vacm] hierarchy level.

Note: To remove an OID completely, use the delete view all oid oid-number command but omit the include parameter.

Options

view-name—Name of the view

The remaining statements are explained separately.

Usage Guidelines

See Configuring MIB Views.

Required Privilege Level

snmp—To view this statement in the configuration.

snmp-control—To add this statement to the configuration.

Related Topics

Associating MIB Views with an SNMP User Group


[Contents] [Prev] [Next] [Index] [Report an Error]