Spectrum SNMP and SDN model reconciliation check
search cancel

Spectrum SNMP and SDN model reconciliation check

book

Article ID: 281935

calendar_today

Updated On:

Products

Spectrum Network Observability

Issue/Introduction

Need way to identify SNMP models that have been reconciled with SDN Models within SDN Manager.

I am seeing SNMP and SDN duplicate models again in SDN Manager.

Many of these were previously reconciled. I suspect I'm seeing unintentionally re-discovered / re-sync'd  duplicate SDN models for devices which were already reconciled. I need a way to verify if the existing SNMP device in SDN Manager was already reconciled, and hopefully the new SDN model could be simply deleted. Is there an attribute I need to check, or is the mere presence of an SNMP model in SDN Manager evidence that it has been reconciled? We have not manually put any SNMP models there.

I verified that I am receiving live VNA events on the SNMP model, and no SNMP or VNA events are being received on the SDN mode. If that is the case, is it safe to simply delete the SDN model from SDN Manager?

Environment

All supported DX NetOps Virtual Network Assurance releases

Cause

Environmental issues resulting in duplicates compounded by older NetOps VNA releases that don't handled reconciliation as well as current releases do.

Resolution

Comparing model attribute dumps between models we can see the difference and determine which are or are not reconciled properly.

  • SDN only items will likely have a model name that starts with SDN_ like this:
    • 0x10000 Modeltype_Name SDN_ROUTER
  • SDN only won't have any of the SNMP OID related attributes.T
    • The reconciled model will have those along with the SNMP attributes.
  • The sysObjectID attribute, attr ID 0x10053/attribute name sysObjectID, could be useful.
    • That or some of the other SNMP specific things like sysDescr could be used.
    • Anything with that + some of the SDN related attributes are likely solid clues it's properly reconciled.
  • Another one might be attribute ID 0x1196c/attribute name MgmntProtocol.
    • The reconciled model has it, the SDN only doesn't and it's set to a value with an SNMP reference.

To obtain attribute dumps of models for analysis through the CLI follow these steps. Complete documentation for the CLI tools can be found in the Command Line Interface documentation section.

  1. Open a command prompt and go to the $SPECROOT/vnmsh directory.
  2. Run this command to open a connection.
    1. ./connect
  3. Run this command to list out all devices.
    1. ./show devices
    2. You'll see Model_Handle in the left column.
  4. Run this command to list out devices for a given device name.
    1. ./show models | grep -i <DeviceName>
    2. Replace <DeviceName> with the device name sought.
    3. The -i makes the command ignore case sensitivity.
  5. Run this command to list all attributes for a given device.
    1. ./show attributes mh=<Model_Handle>
    2. Replace <Model_Handle> with the model handle attribute value for the target device.
    3. In this scenario the two sample commands might be:
      1. ./show attributes mh=<model_handle_ReconciledModel> > ReconciledModelOut.log
      2. ./show attributes mh=<model_handle_SDNOnlyModel> > SDNOnlyModelOut.log