1 Description
This instruction 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 instruction 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.
2 Procedure
2.1 Create SNMP View
Prerequisites
- No documents are required.
- No tools are required.
- The following conditions must apply:
Steps
- 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