For the past few days I've been trying to fetch the equivalent of the mac-address-table on a 1811 with SNMP. I want a mapping between active MACs to a port ifIndex (not a VLAN interface ifIndex).
- I've snmpwalked every MIBs on this device (including all the proprietary MIBs supported by the IOS)
- I've upgraded to latest IOS from the 12.4(24)T series and also tried latest from 12.4(15)T series
- I am aware of the community index (@ sign in read-only community to split per vlan)
- I've exhausted all my google skills
On 29xx, 35xx, we obtain that information using the BRIDGE-MIB, community indexing and the following OID:
# snmpwalk -v 2c -c public@1 192.168.1.61 126.96.36.199.188.8.131.52.3.1.2
SNMPv2-SMI::mib-184.108.40.206.220.127.116.11.18.104.22.168 = INTEGER: 24
SNMPv2-SMI::mib-22.214.171.124.126.96.36.199.188.8.131.52 = INTEGER: 12
SNMPv2-SMI::mib-184.108.40.206.220.127.116.11.18.104.22.168 = INTEGER: 11
I've tried pretty much everything and I'm pretty sure the switch doesn't support it, this post is a last resort. I know that the 1800s are routers but they still have 8 switch ports, I just can't believe that this information is not available through SNMP..
Note: I am not interested in getting the MAC address of the interfaces themselves but the devices connected to them.
Thanks for your help!
What you want to do is not possible in your version of code. There is an enhancement request open for getting this, but it was not implemented until 15.1T code.