One of the ways to get list of MAC addresses from the forwarding table of Cisco switch is via SNMP MIB: dot1dTpFdbEntryġ.3.6.1.2.1.17.4.3.1.1 ( dot1dTpFdbAddress)ġ.3.6.1.2.1.17.4.3.1.3 ( dot1dTpFdbStatus)ġ.3.6.1.2.1.17.4.3.1.1 ( dot1dTpFdbAddress) contain list of MAC addresses in Binary formatġ.3.6.1.2.1.17.4.3.1.2 ( dot1dTpFdbPort) contain IfIndex value of the interface associated with each MAC Addressġ.3.6.1.2.1.17.4.3.1.3 ( dot1dTpFdbStatus) contain Status code which gives information how each MAC was learned by the switch. How to collect list of MAC addresses from Cisco Switch via SNMP (dot1dTpFdbEntry)