Create SNMPv3 Target

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to create an SNMPv3 target. An SNMPv3 target is created to forward Simple Network Management Protocol (SNMP) notifications to a management system over the SNMPv3 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 SNMPv3 target:

  1. Navigate to the Snmp MO, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,SysM=1,Snmp=1

  2. Enter Config mode:

    (Snmp=1)>configure

  3. Create an SNMPv3 target, for example:

    (config-Snmp=1)>SnmpTargetV3=OSS_v3

  4. For the SnmpTargetV3 MO, set the attributes, for example:

    (config-SnmpTargetV3=OSS_v3)>snmpSecurityLevel=AUTH_PRIV

    (config-SnmpTargetV3=OSS_v3)>privProtocol=DES

    (config-SnmpTargetV3=OSS_v3)>authProtocol=MD5

    (config-SnmpTargetV3=OSS_v3)>user="user1"

    (config-SnmpTargetV3=OSS_v3)>address="192.0.2.10"

    (config-SnmpTargetV3=OSS_v3)>port=1162

    (config-SnmpTargetV3=OSS_v3)>privKey="myprivatekey" cleartext

    (config-SnmpTargetV3=OSS_v3)>authKey="myauthorizationkey" cleartext

  5. Commit the settings:

    (config-SnmpTargetV3=OSS_v3)>commit

  6. Verify the settings:

    (SnmpTargetV3=OSS_v3)>show -v

    The following is an example output:

    SnmpTargetV3=OSS_v3
       address="192.0.2.10"
       administrativeState=UNLOCKED <default>
       authKey="myauthorizationkey"
       authProtocol=MD5 <default>
       informRetryCount=1 <default>
       informTimeout=300 <default>
       isMibWritable=true <default>
       operationalState=ENABLED <read-only>
       port=1162
       privKey="myprivatekey"
       privProtocol=DES <default>
       snmpSecurityLevel=AUTH_PRIV <default>
       snmpTargetV3Id=OSS_v3
       transportMethod=TRAP <default>
       user="user1"