How to find duplicate snmp engine IDs in Spectrum?
search cancel

How to find duplicate snmp engine IDs in Spectrum?

book

Article ID: 240617

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

How to find duplicate snmp engine IDs in Spectrum?

Resolution

The easiest and best option to view Engine IDs is to dump the SNMPv3 cache data in Spectrum to the $SPECROOT/SS/VNM.OUT file:

    1. cd $SPECROOT/vnmsh
    2. ./connect
    3. ./update action=0x10331 mh=<landscape handle>
    4. Output goes to $SPECROOT/SS/VNM.OUT

      It looks similar to this:

-----------------------------------------------------------------------------

-------------------ENGINE ID DATA -------------------------------------------

-----------------------------------------------------------------------------

Engine ID: <ENGINE_ID> (x.x.x.x) - Engine BOOT:10; Engine TIME:9498016; Last Updated Time:1651150044

Engine ID: <ENGINE_ID> (x.x.x.x) - Engine BOOT:10; Engine TIME:9498157; Last Updated Time:1651150185

Engine ID: <ENGINE_ID> (x.x.x.x) - Engine BOOT:0; Engine TIME:0; Last Updated Time:1651150273

Review/search for the <ENGINE_ID> to see if there are duplicates.

Another option is to add the SNMP Engine ID column to your search results.  Right click the column headers and select the SNMP Engine ID entry.  Please note this is an external attribute so this will take time to populate as Spectrum will need to externally query your devices for the value:

Additional Information

If you do not have the SNMP Engine ID column available you can add the snmpEngineID attribute to the locator tab as a column. You could filter on that column and see the duplicates that way.

 

https://knowledge.broadcom.com/external/article?articleId=57038

 

This is likely the cleanest option. We do not want to leave it there since its an external attribute read, but doing it once or twice so you can get your duplicates is not bad.

 

Here is the XML you need to create in the above KBs location:

 

<?xml version="1.0" encoding="utf-8" ?>

 

<table idref="table-searchresults-config">

<column-list>

<column>

<name>snmpEngineID</name>

<content>

<attribute>0x230c51</attribute>

</content>

</column>

</column-list>

</table>