[ixpmanager] update-l2database.pl not updating database

Barry O'Donovan barry.odonovan at inex.ie
Wed Sep 25 20:48:53 IST 2013



On 25/09/13 20:32, Brian Thompson wrote:
> No I was trying to give as much detail as possible.

Cool, my misunderstanding.

> [1] http://git.io/dmWA6g  updates switchports table to ge-0/0/0

> [2] http://git.io/7ZPmUw  updates macaddress table discovers
> macaddresses at ge0/0/0.0

I think you have these references wrong?

Both of these use the same backend code and neither touch the macaddress 
table. I suspect you mean:

http://git.io/dmWA6g and http://git.io/7ZPmUw updates switchports table 
to ge-0/0/0

Where as:

updates macaddress table discovers macaddresses at ge0/0/0.0?


Now, looking at the SNMP dump you posted previously 
(https://gist.github.com/pdxmaverick/6597601), it looks like Juniper are 
reporting ifDescriptions (switchport.name) such as:

.1.3.6.1.2.1.2.2.1.2.602 = STRING: "ge-0/0/2"
.1.3.6.1.2.1.2.2.1.2.603 = STRING: "ge-0/0/2.0"

and ifNames (switchport.ifName) as:

.1.3.6.1.2.1.31.1.1.1.1.602 = STRING: "ge-0/0/2"
.1.3.6.1.2.1.31.1.1.1.1.603 = STRING: "ge-0/0/2.0"


It's not important that these are the same but it is important that 
these appear to be two references to the same port?

I suspect that when adding these switches in IXP Manager you're also 
looking at a port entry for ge-0/0/2 and ge-0/0/2.0?



  - Barry


PS: if anyone is wondering why ifDesc is confusingly named 'name' in the 
switchport database, it's an unfortunate legacy that would be a boat 
load of work to change.




More information about the ixpmanager mailing list