[ixpmanager] update-l2database.pl

Mike Hammett ixp-manager at ics-il.net
Fri May 29 04:49:27 IST 2015


I added some hosts entries for now. I guess I will eventually get DNS and rDNS for everything, but that's "eventually". 

# if this isn't supported, then panic. We could probably try 
# community at vlan syntax, but this should be good enough. 
if (!$qbridgehash && !$dbridgehash) { 
print STDERR "WARNING: $host: cannot read BRIDGE-MIB or Q-BRIDGE-MIB. Not processing $host further.\n"; 
return; 
} 


I have a couple Ciscos and the results of the snmpwalk commands on https://www.inex.ie/pipermail/ixpmanager/2013-December/000281.html did yield what I guess to be port numbers? They seem to match up with things in use. I'm not a programmer, but does the code above just generate an error and not try the community at vlan syntax? 


root at Midwest-IX-Indy-IXP-Manager:/srv/ixp/tools/perl-lib/IXPManager# snmpwalk -v 2c -c XXXXX MTIN-3550 .1.3.6.1.2.1.17.1.4.1.2 
iso.3.6.1.2.1.17.1.4.1.2.2 = INTEGER: 2 
iso.3.6.1.2.1.17.1.4.1.2.8 = INTEGER: 8 
iso.3.6.1.2.1.17.1.4.1.2.9 = INTEGER: 9 
iso.3.6.1.2.1.17.1.4.1.2.12 = INTEGER: 12 
root at Midwest-IX-Indy-IXP-Manager:/srv/ixp/tools/perl-lib/IXPManager# snmpwalk -v 2c -c XXXXX at 777 MTIN-3550 .1.3.6.1.2.1.17.1.4.1.2 
iso.3.6.1.2.1.17.1.4.1.2.3 = INTEGER: 3 
iso.3.6.1.2.1.17.1.4.1.2.6 = INTEGER: 6 
iso.3.6.1.2.1.17.1.4.1.2.10 = INTEGER: 10 
root at Midwest-IX-Indy-IXP-Manager:/srv/ixp/tools/perl-lib/IXPManager# snmpwalk -v 2c -c XXXXX m-ix-cisco-4500 .1.3.6.1.2.1.17.1.4.1.2 
iso.3.6.1.2.1.17.1.4.1.2.1 = INTEGER: 2 
root at Midwest-IX-Indy-IXP-Manager:/srv/ixp/tools/perl-lib/IXPManager# snmpwalk -v 2c -c XXXXX at 777 m-ix-cisco-4500 .1.3.6.1.2.1.17.1.4.1.2 
iso.3.6.1.2.1.17.1.4.1.2.1 = INTEGER: 2 
iso.3.6.1.2.1.17.1.4.1.2.67 = INTEGER: 10 
iso.3.6.1.2.1.17.1.4.1.2.68 = INTEGER: 11 






----- 
Mike Hammett 
Intelligent Computing Solutions 
http://www.ics-il.com 



Midwest Internet Exchange 
http://www.midwest-ix.com 


----- Original Message -----

From: "Barry O'Donovan" <barry.odonovan at inex.ie> 
To: ixpmanager at inex.ie 
Sent: Tuesday, May 26, 2015 10:08:27 AM 
Subject: Re: [ixpmanager] update-l2database.pl 



On 26/05/2015 16:04, Mike Hammett wrote: 
> There are no DNS entries for any infrastructure at this time. Didn't 
> really plan on it either, however, if it is required, then I suppose 
> I'll change my plans. 

nah, just set switch name to the same value as switch hostname. 

- Barry 
_______________________________________________ 
INEX IXP Manager mailing list 
ixpmanager at inex.ie 
https://www.inex.ie/mailman/listinfo/ixpmanager 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20150528/2738551f/attachment.html>


More information about the ixpmanager mailing list