SNMP::BridgeQuery 0.61
Sponsored Links
SNMP::BridgeQuery 0.61 Ranking & Summary
File size:
0.011 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
923
Date added:
2007-04-19
Publisher:
John D. Shearer
SNMP::BridgeQuery 0.61 description
BridgeQuery is a Perl extension for retrieving bridge tables.
SYNOPSIS
use SNMP::BridgeQuery;
use SNMP::BridgeQuery qw(querymacs queryports queryat);
$fdb = queryfdb(host => $address,
comm => $community);
unless (exists $fdb->{error}) {
($fdb->{$mac} = "n/a") unless (exists $fdb->{$mac});
print "This MAC address was found on port: ".$fdb->{$mac}."n";
}
BridgeQuery polls a device which responds to SNMP Bridge Table queries and generates a hash reference with each polled MAC address as the key and the associated port as the value. The specific MIBs that are polled are described in RFC1493.
SNMP::BridgeQuery requires Net::SNMP in order to function. (Checked for during perl Makefile.PL)
Devices can be switches, bridges, or most anything that responds as a OSI Layer 2 component. Layer 3 devices do not generally respond and will cause an error. If an error is generated, it will return a hash reference with a single element (error) which can be tested for.
Two other functions (querymacs & queryports) can be explicitly exported. They work the same way as queryfdb, but they return MAC addresses or ports (respectively) with the SNMP MIB as the hash key.
A newly added function (queryat) can be used on layer 3 switches to poll the Address Translation Tables. This is similar to the data returned by the queryfdb function, but it returns the IP address of the device and the associated interface (separated by a pipe |) with the MAC address as the key. On a layer 3 switch, this interface probably does not correspond to a physical port, but more likely refers to a vlan ID. Using this function on a layer 2 device will generate a trapped error.
SYNOPSIS
use SNMP::BridgeQuery;
use SNMP::BridgeQuery qw(querymacs queryports queryat);
$fdb = queryfdb(host => $address,
comm => $community);
unless (exists $fdb->{error}) {
($fdb->{$mac} = "n/a") unless (exists $fdb->{$mac});
print "This MAC address was found on port: ".$fdb->{$mac}."n";
}
BridgeQuery polls a device which responds to SNMP Bridge Table queries and generates a hash reference with each polled MAC address as the key and the associated port as the value. The specific MIBs that are polled are described in RFC1493.
SNMP::BridgeQuery requires Net::SNMP in order to function. (Checked for during perl Makefile.PL)
Devices can be switches, bridges, or most anything that responds as a OSI Layer 2 component. Layer 3 devices do not generally respond and will cause an error. If an error is generated, it will return a hash reference with a single element (error) which can be tested for.
Two other functions (querymacs & queryports) can be explicitly exported. They work the same way as queryfdb, but they return MAC addresses or ports (respectively) with the SNMP MIB as the hash key.
A newly added function (queryat) can be used on layer 3 switches to poll the Address Translation Tables. This is similar to the data returned by the queryfdb function, but it returns the IP address of the device and the associated interface (separated by a pipe |) with the MAC address as the key. On a layer 3 switch, this interface probably does not correspond to a physical port, but more likely refers to a vlan ID. Using this function on a layer 2 device will generate a trapped error.
SNMP::BridgeQuery 0.61 Screenshot
SNMP::BridgeQuery 0.61 Keywords
BridgeQuery
SNMP
MAC
BridgeQuery 0.61
perl extension
can be
bridge tables
address
layer
tables
error
Perl
bridge
SNMP::BridgeQuery
SNMPBridgeQuery
SNMP::BridgeQuery 0.61
Bookmark SNMP::BridgeQuery 0.61
SNMP::BridgeQuery 0.61 Copyright
WareSeeker periodically updates pricing and software information of SNMP::BridgeQuery 0.61 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of SNMP::BridgeQuery 0.61 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
bridged is a user-space alternative to the in-kernel bridge code in Linux. Free Download
Snmp Monitor provides a SNMP router and monitoring alarms. Free Download
PhpLabware is a web-based database system. Free Download
SNMP::Monitor is a Perl package for monitoring remote hosts via SNMP. Free Download
SNMP::Persist is a Perl module for the SNMP pass_persist threaded backend. Free Download
Mon::SNMP is a Perl module created to decode SNMP trap. Free Download
Snmpstat shows router interface information and statistics through web interface using SNMP protocol. Free Download
The Bind9 SNMP Subagent provides indexed BIND 9 statistics via SNMP output. Free Download
Latest Software
Popular Software
Favourite Software