Friday, June 11, 2021

Reliable Switchport Detection Source?

Yea, the title is confusing. Let me explain. No No... that will take too long. Let me sum up. (Princess Bride Reference)

Our developers are trying to improve the device location tech in our software.

Currently, when we setup our software, we read into a database all the switches (Chassis ID and Port ID) which we obtain utilizing SNMP (Polling the LLDP Device table) (Link to what I believe the table is http://www.circitor.fr/Mibs/Html/L/LLDP-MIB.php#LldpChassisId)

When our clients startup, they listen for the LLDP packet coming from the switch, and send the ChassisID and PortID to the DB, and voila, we know where we are plugged in, and magic software stuff happens based on the location.

Until the switches are stacked. As we start adding switch stacks, we've noticed that the ChassisID changes based on which switch is selected as master on bootup. Yes there are things we can do to force the same switch to be the master, but when we have to replace that switch, that breaks.

We currently do not re-query the switches to "refresh" the data.

So... I'm pretty sure this is how most IP phones do E911 location mapping. But I don't know that for a fact.

Are there other methods out there that identify port location?



No comments:

Post a Comment