03-21-2006 01:05 PM
I have a catalyst 2955 and im trying to foind a way of getting the mac address of the device directly connected to my switch ports using SNMP. I'm aware that BRIDGE-MIB has item dot1dTpFdbTable which gives you a table with all the macs and ports. But to read this it has to be done using "get next" or "get bulk", not by only using "get". I need to be able to read an entry of the table with a single SNMP OID number.
This way i could first get all the macs individually, then all the port numbers and then i could build my table, without using "get next" or "get Bulk"
Any ideas on how can I read each entry of the table by using get with a single SNMP OID number
03-22-2006 12:24 AM
So you need show mac-address-table dynamic command
OID should be .1.3.6.1.2.1.17.4.3.1.1
this document would be helpful
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00801c9199.shtml
M.
Hope that helps rate if does
03-22-2006 05:32 AM
Using OID .1.3.6.1.2.1.17.4.3.1.1 I get the entire table, what I´m want to do is that i want to be able to get a single entry of that table using a single OID.
Im using an SNMP-OPC server and the server does not has the capability of reading an entire table, the server is only able to read single entries and convert them to OPC.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide