Create SNMPv2C Target

Contents


1   Description

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

2   Procedure

2.1   Create SNMPv2C 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 SNMPv2C target, for example:

    (config-Snmp=1)>SnmpTargetV2C=OSS_v2C

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

    (config-SnmpTargetV2C=OSS_v2C)>community=group

    (config-SnmpTargetV2C=OSS_v2C)>address=192.0.2.10

    (config-SnmpTargetV2C=OSS_v2C)>networkPrefixLength=24

  5. Commit the settings:

    (config-SnmpTargetV2C=OSS_v2C)>commit

  6. Verify the settings

    (SnmpTargetV2C=OSS_v2C)>show -v

    The following is an example output:

    SnmpTargetV2C=OSS_v2C
       address="192.0.2.10"
       administrativeState=UNLOCKED <default>
       community="group"
       informRetryCount=1 <default>
       informTimeout=300 <default>
       isMibWritable=true <default>
       networkPrefixLength=24
       operationalState=ENABLED [] <read-only
       port=162 <default>
       snmpTargetV2CId=OSS_v2C
       transportMethod=TRAP <default>