Create SNMPv2C Target

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document 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.

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:

2   Procedure

To create an SNMPv2C target:

  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 and address, for example:

    (config-SnmpTargetV2C=OSS_v2C)>community=public

    (config-SnmpTargetV2C=OSS_v2C)>address=192.0.2.10

  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="public"
       informRetryCount=1 <default>
       informTimeout=300 <default>
       isMibWritable=true <default>
       operationalState=ENABLED [] <read-only
       port=162 <default>
       snmpTargetV2CId=OSS_v2C
       transportMethod=TRAP <default>