Create SNMPv1 Target

Contents


1   Description

This instruction describes how to create an SNMPv1 target. An SNMPv1 target is created to forward Simple Network Management Protocol (SNMP) notifications to a management system over the SNMPv1 protocol.

2   Procedure

2.1   Create SNMPv1 Target

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 SNMPv1 target, for example:

    (config-Snmp=1)>SnmpTargetV1=OSS_v1

  4. For the SnmpTargetV1 MO, set attributes community, address, and networkPrefixLength, for example:

    (config-SnmpTargetV1=OSS_v1)>community=public

    (config-SnmpTargetV1=OSS_v1)>address=192.0.2.10

    (config-SnmpTargetV1=OSS_v1)>networkPrefixLength=24

  5. Commit the settings:

    (config-SnmpTargetV1=OSS_v1)>commit

  6. Verify the settings:

    (SnmpTargetV1=OSS_v1)>show -v

    The following is an example output:

    SnmpTargetV1=OSS_v1
       address="192.0.2.10"
       administrativeState=UNLOCKED <default>
       community="public"
       isMibWritable=true <default>
       networkPrefixLength=24
       operationalState= [] <empty>
       port=162 <default>
       snmpTargetV1Id=OSS_v1