How to find duplicate snmp engine IDs in Spectrum?
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:
-----------------------------------------------------------------------------
-------------------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:
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>