On Mon, 2005-10-17 at 13:15 -0400, Robert Story wrote: > On Fri, 14 Oct 2005 12:14:39 +0200 Boris wrote: > BF> output: > BF> SNMPv2-SMI::mib-2.17.4.3.1.1.0.0.28.182.27.202 = Hex-STRING: 00 00 1C B6 > BF> 1B DF > > Any part of that look familiar? '28.182.27.202' looks like an ip address to me
Close. It's actually 0:0:28:182:27:202, and is the Mac Address of the system concerned. This OID translates to BRIDGE-MIB::dot1dTpFdbAddress.0.0.28.182.27.202 and is the index of the Forwarding Database (dot1dTpFdbTable) BRIDGE-MIB::dot1dTpFdbPort (mib-2.17.4.3.1.2) will report which port traffic for that particular Mac Address will be sent to. You'd need to use another lookup to perform the Mac<->IP mapping (e.g. the ipNetToMediaTable of some well-connected system, probably *not* the switch itself). Or use a local database. > I don't know of any stanard MIBs that have ip/host mapping. That would be the DISMAN-NSLOOKUP-MIB. It's not particularly widely implemented, AFAIK. Dave ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users