Configuring SNMP Views (NSM Procedure)

By default, an SNMP community grants read access and denies write access to all supported MIB objects, including communities configured for read-write authorization. To restrict or grant read or write access to a set of MIB objects, configure a MIB view and associate the view with a community. Each MIB object of a view has a common object identifier (OID) prefix. Each OID represents a subtree of the MIB object hierarchy. The subtree can be represented either by a sequence of integers separated by periods (such as 1.3.6.1.2.1.2) or by its subtree name (such as interfaces). Use a view to specify a group of MIB objects on which to define access. You can also use the wildcard character asterisk (*) to include OIDs that match a particular pattern in the SNMP view. To enable a view, associate it with a community.

To configure SNMP views in NSM:

  1. In the navigation tree, select Device Manager > Devices.
  2. In the Devices list, double-click the device to select it.
  3. Click the Configuration tab.
  4. In the configuration tree, expand SNMP.
  5. Select View.
  6. Select the Enable Feature check box.
  7. Enter the parameters as specified in Table 81.
  8. Click one:
    • OK—To save the changes.
    • Cancel—To cancel the modifications.
    • Apply—To apply the SNMP settings.

Table 81: Configuring SNMP View Fields

Option

Function

Your Action

Name

Specifies a name for the view.

Enter a name for the view.

Oid

Specifies an OID used to represent a subtree of MIB objects.

  1. Expand the View tree and select oid.
  2. Click the New button or select an OID and click the Edit button.

Name

Specifies the MIB for the view.

Enter the OID of the MIB in either dotted-integer format or subtree-name format.

Include or Exclude

Specifies whether the view includes or excludes the set of MIB objects.

Select exclude to exclude the subtree of MIB objects represented by the specified OID.

Select include to include the subtree of MIB objects represented by the specified OID.

Related Documentation