Create SNMP View

Contents


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):

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

Steps

  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"


Copyright

© Ericsson AB 2016, 2017. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    Create SNMP View