Create SNMP View

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to create a Simple Network Management Protocol (SNMP) view. An SNMP view can be configured to give read or write access to specific SNMP Object Identifiers (OIDs) to an SNMP target user. Three types of SNMP view can be created; SNMPv1, SNMPv2C, and SNMPv3 views. This document focuses on an SNMPv3 view.

In the absence of a specific configuration, default access is given to the following SNMP Management Information Bases (MIBs):

The default behavior denies access to other SNMP MIBs. An explicit view configuration must be created if this default behavior is insufficient.

1.1   Prerequisites

This section describes the prerequisites, which must be fulfilled before using the procedure.

1.1.1   Conditions

The following conditions must apply:

2   Procedure

To create an SNMPv3 view:

  1. Navigate to the Snmp Managed Object (MO), for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,SysM=1,Snmp=1

  2. Enter Config mode:

    (Snmp=1)>configure

  3. Create an SNMPv3 view, for example:

    (config-Snmp=1)>SnmpViewV3=OSS_v3

  4. For the SnmpViewV3 MO, set attributes user, readOids, and writeOids, for example:

    (config-SnmpViewV3=OSS_v3)>user="user1"

    (config-SnmpViewV3=OSS_v3)>readOids="1.3.6.1.4.1.193.183.4.1.5.1"

    (config-SnmpViewV3=OSS_v3)>writeOids="1.3.6.1.4.1.193.183.4.1.5.2"

  5. Commit the settings:

    (config-SnmpViewV3=OSS_v3)>commit

  6. Verify the settings:

    (SnmpViewV3=OSS_v3)>show -v

    The following is an example output:

    SnmpViewV3=OSS_v3
       readOids
          "1.3.6.1.4.1.193.183.4.1.5.1"
       snmpViewV3Id="OSS_v3"
       user
          "user1"
       writeOids
          "1.3.6.1.4.1.193.183.4.1.5.2"