Configure SNMP Master Agent with engineId

Contents


1   Description

This instruction describes how to configure the SNMP Master Agent with engineId.

2   Procedure

2.1   Configure SNMP Master Agent with engineId

Prerequisites

Steps

  1. Navigate to the Snmp Managed Object (MO), for example:

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

  2. Enter Config mode:

    (Snmp=1)>configure

  3. Configure the SNMP Master Agent with an engineId which can be a string, for example:

    (config-Snmp=1)>engineId="1234567890"

  4. Commit the settings:

    (config-Snmp=1)>commit

  5. Verify the settings:

    (Snmp=1)>show -v

    The following is an example output:

    Snmp=1
       administrativeState=UNLOCKED <default>
       enableSourceCheckForV1V2C=false <default>
       engineId="1234567890"
       nodeCredential="ManagedElement=1,SystemFunctions=1,⇒
    SecM=1,CertM=1,NodeCredential=nc1"
       operationalState=ENABLED <read-only>
       port=161 <default>
       portDtls=10161 <default>
       snmpId="1"
       trustCategory="ManagedElement=1,SystemFunctions=1,⇒
    SecM=1,CertM=1,TrustCategory=tc1"
       agentAddress[@1]
          host="127.0.0.1"
          port=161
       agentAddressDtls[@1]
          host="127.0.0.1"
          port=10161
Note:  
If SNMP stack cannot support setting the engineId, then the applied value is ignored, keeping the current empty value.

The engineId attribute is optional. If not set by NBI user, then a random engineId, generated by netSNMP library, is used.