[ixpmanager] update-l2database.pl and Juniper QFX5100

Leon Meßner l.messner at physik.tu-berlin.de
Wed Feb 1 23:21:22 GMT 2017


Hi,
has anyone got a working update-l2database.pl for Juniper QFX series
switches? Running with --debug i get (excuse the long lines):

# /usr/local/bin/update-l2database.pl --vlan=2000 --debug
DEBUG: switch-1: started query process
DEBUG: switch-1: pre-emptively trying Juniper jnxExVlanTag to see if we're on a J-EX box (.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5)
DEBUG: switch-1: this isn't a Juniper EX
DEBUG: switch-1: attempting to retrieve dot1qVlanFdbId mapping (.1.3.6.1.2.1.17.7.1.4.2.1.3)
DEBUG: switch-1: that didn't work either. attempting Q-BRIDGE-MIB with no fdb->ifIndex mapping
DEBUG: switch-1: attempting Q-BRIDGE-MIB (.1.3.6.1.2.1.17.7.1.2.2.1.2.2000)
DEBUG: switch-1: failed to retrieve Q-BRIDGE-MIB. falling back to BRIDGE-MIB 
DEBUG: switch-1: attempting BRIDGE-MIB (.1.3.6.1.2.1.17.4.3.1.2)
WARNING: switch-1: cannot read BRIDGE-MIB or Q-BRIDGE-MIB. Not processing switch-1 further.

Looking at Q-BRIDGE-MIB without the vlanid added i get an interface mapping:

# snmpwalk -v 2c -c community switch-1 1.3.6.1.2.1.17.7.1.2.2.1
iso.3.6.1.2.1.17.7.1.2.2.1.2.196608.132.24.136.38.23.197 = INTEGER: 14
iso.3.6.1.2.1.17.7.1.2.2.1.2.327680.0.2.201.16.240.151 = INTEGER: 4105
....

and with dot1qVlanStaticEgressPorts i can map ports to vlans (1,50,2000...):

# snmpwalk -v 2c -c community switch-1 1.3.6.1.2.1.17.7.1.4.3.1.2
iso.3.6.1.2.1.17.7.1.4.3.1.2.1 = ""
iso.3.6.1.2.1.17.7.1.4.3.1.2.50 = STRING: "14"
iso.3.6.1.2.1.17.7.1.4.3.1.2.2000 = STRING: "14,4100,4101,4103,4105"
iso.3.6.1.2.1.17.7.1.4.3.1.2.2103 = STRING: "4101,4102"
iso.3.6.1.2.1.17.7.1.4.3.1.2.2104 = STRING: "4101,4104"

Would that suffice to get the right information from the switch to put
into the database? If not, i'm wondering if the node between the
Q-BIDGE-MIB and the MACs would help (here: 196608 and 327680)?
I'm happy about any pointers.

Regards,
Leon


More information about the ixpmanager mailing list