Disable SNMP Target

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to disable a Simple Network Management Protocol (SNMP) target. An SNMP target can be disabled during maintenance operations. In such situations, it is not always suitable to forward alarms to the management system since the managed element is unstable and already given specific attention.

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 disable an SNMP target:

  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 disabled, 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=UNLOCKED <default>
    [...]
       operationalState=ENABLED <read-only>
    
    Note:  
    To disable the SNMP target, attribute administrativeState must be set to LOCKED. Attribute operationalState is then automatically set to DISABLED. The same is true for disabling SNMPv1 and SNMPv3 targets.

  4. Enter Config mode:

    (SnmpTargetV2C=OSS_v2C)>configure

  5. Disable the SNMP target:

    (config-SnmpTargetV2C=OSS_v2C)>administrativeState=LOCKED

  6. Commit the setting:

    (config-SnmpTargetV2C=OSS_v2C)>commit

  7. Verify that the SNMP target is disabled:

    (SnmpTargetV2C=OSS_v2C)>show -v

    The following is an example output:

    SnmpTargetV2C=OSS_v2C
       address="192.0.2.10"
       administrativeState=LOCKED <default>
    [...]
       operationalState=DISABLED <read-only>

    The SNMP target is disabled.