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):
- ERICSSON-ALARM-MIB
- SNMP-FRAMEWORK-MIB
- MIB-2
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:
- The SNMPv3 user to apply the view on is known.
- The SNMP OIDs that the view gives read access and write access to are known.
- An Ericsson Command-Line Interface (ECLI) session in Exec mode is in progress.
2 Procedure
To create an SNMPv3 view:
- Navigate to the Snmp Managed Object (MO), for example:
>dn ManagedElement=NODE06ST,SystemFunctions=1,SysM=1,Snmp=1
- Enter Config mode:
(Snmp=1)>configure
- Create an SNMPv3 view, for example:
(config-Snmp=1)>SnmpViewV3=OSS_v3
- 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"
- Commit the settings:
(config-SnmpViewV3=OSS_v3)>commit
- 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"

Contents