title: Cisco mac table via snmp problem
body: <p>I'm trying to get MAC address table from port number on Cisco switch using <a href="http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00801576ff.shtml" rel="nofollow">this</a> manual.</p>
  
  <p>For this i make </p>
  
  <p><code>snmpwalk .1.3.6.1.2.1.17.4.3.1.1</code> to get the MAC address table;</p>
  
  <p><code>snmpwalk .1.3.6.1.2.1.17.4.3.1.2</code> to get the bridge port number;</p>
  
  <p><code>snmpwalk .1.3.6.1.2.1.17.1.4.1.2</code> to get the bridge port to ifIndex mapping.</p>
  
  <p>But the problem I'm facing is the follows: i have more than one bridge port number for one MAC: i.e. the first snmp contains</p>
  
  <pre><code>SNMPv2-SMI::mib-2.17.4.3.1.1.0.14.94.0.119.122 = Hex-STRING: 00 0E 5E 00 77 7A 
  SNMPv2-SMI::mib-2.17.4.3.1.1.0.14.94.10.250.7 = Hex-STRING: 00 0E 5E 0A FA 07
  </code></pre>
  
  <p>while the second:</p>
  
  <pre><code>SNMPv2-SMI::mib-2.17.4.3.1.2.0.14.94.0.119.122 = INTEGER: 6
  SNMPv2-SMI::mib-2.17.4.3.1.2.0.14.94.10.250.7 = INTEGER: 6
  </code></pre>
  
  <p>so... which MAC should I use for bridge port number <code>6</code>?</p>
  
  <p>ps: i'm not an admin, so sorry if the question is stupid, and thanks in advance!</p>