Enable SNMP Target

Contents


1   Description

This instruction describes how to enable a Simple Network Management Protocol (SNMP) target. An SNMP target is enabled when the managed element can be monitored by the corresponding management system as part of the normal operations.

2   Procedure

2.1   Enable SNMP Target

Prerequisites

Steps

  1. Navigate to the Snmp managed object, for example:

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

  2. Navigate to the SNMP target to be enabled, for example:

    (Snmp=1)>SnmpTargetV2C=OSS_v2C

  3. View the attribute settings of the SNMP target:

    (SnmpTargetV2C=OSS_v2C)>show -v

    The following is an example output:

    SnmpTargetV2C=OSS_v2C
       address="192.0.2.10"
       administrativeState=LOCKED <default>
       community="public"
       informRetryCount=1 <default>
       informTimeout=300 <default>
       isMibWritable=true <default>
       networkPrefixLength=[] <empty>
       operationalState=DISABLED <read-only>
       port=162 <default>
       snmpTargetV2CId="OSS_v2C"
       transportMethod=TRAP <default>
    Note:  
    To enable the SNMP target, attribute administrativeState must be set to UNLOCKED. Attribute operationalState is then automatically set to ENABLED. The same is true for disabling SNMPv1 and SNMPv3 targets.

  4. Enter Config mode:

    (Snmp=1)>configure

  5. Enable the SNMP target:

    (config-SnmpTargetV2C=OSS_v2C)>administrativeState=UNLOCKED

  6. Commit the setting:

    (config-SnmpTargetV2C=OSS_v2C)>commit

  7. Verify that the SNMP target is enabled:

    (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>
       networkPrefixLength=[] <empty>
       operationalState=ENABLED <read-only>
       port=162 <default>
       snmpTargetV2CId="OSS_v2C"
       transportMethod=TRAP <default>

    The SNMP target is enabled.