Simple Network Management Protocol (SNMP) | 537In Figure 30-23, R1 has one dynamic MAC address, learned off of port TenGigabitEthernet 1/21, which isa member of the default VLAN, VLAN 1. The SNMP walk returns the values for dot1dTpFdbAddress,dot1dTpFdbPort, and dot1dTpFdbStatus.Each object is comprised an OID concatenated with an instance number. In the case of these objects, theinstance number is the decimal equivalent of the MAC address; derive the instance number by convertingeach hex pair to its decimal equivalent. For example, the decimal equivalent of E8 is 232, and so theinstance number for MAC address 00:01:e8:06:95:ac is .0.1.232.6.149.172.The value of dot1dTpFdbPort is the port number of the port off which the system learns the MAC address.In this case, of TenGigabitEthernet 1/21, the manager returns the integer 118.Figure 30-23. Fetching Dynamic MAC Addresses on the Default VLANIn Figure 30-24, TenGigabitEthernet 1/21 is moved to VLAN 1000, a non-default VLAN. Use the objectsdot1qTpFdbTable to fetch the MAC addresses learned on non-default VLANs. The instance number is theVLAN number concatenated with the decimal conversion of the MAC address.Figure 30-24. Fetching Dynamic MAC Addresses on Non-default VLANsUse dot3aCurAggFdbTable to fetch the learned MAC address of a port-channel. The instance number isthe decimal conversion of the MAC address concatenated with the port-channel number.Figure 30-25. Fetching Dynamic MAC Addresses on the Default VLAN-----------------------------MAC Addresses on Dell Force10System-------------------------------FTOS#show mac-address-tableVlanId Mac Address Type Interface State1 00:01:e8:06:95:ac Dynamic Tengig 1/21 Active------------------------------Query from Management Station-------------------------------->snmpwalk -v 2c -c techpubs 10.11.131.162 .1.3.6.1.2.1.17.4.3.1SNMPv2-SMI::mib-2.17.4.3.1.1.0.1.232.6.149.172 = Hex-STRING: 00 01 E8 06 95 ACSNMPv2-SMI::mib-2.17.4.3.1.2.0.1.232.6.149.172 = INTEGER: 118SNMPv2-SMI::mib-2.17.4.3.1.3.0.1.232.6.149.172 = INTEGER: 3-----------------------------MAC Addresses on Dell Force10System-------------------------------FTOS#show mac-address-tableVlanId Mac Address Type Interface State1000 00:01:e8:06:95:ac Dynamic Tengig 1/21 Active------------------------------Query from Management Station-------------------------------->snmpwalk -v 2c -c techpubs 10.11.131.162 .1.3.6.1.2.1.17.7.1.2.2.1SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.1000.0.1.232.6.149.172 = INTEGER: 118SNMPv2-SMI::mib-2.17.7.1.2.2.1.3.1000.0.1.232.6.149.172 = INTEGER: 3-----------------------------MAC Addresses on Dell Force10System-------------------------------FTOS(conf)#do show mac-address-tableVlanId Mac Address Type Interface State1000 00:01:e8:06:95:ac Dynamic Po 1 Active------------------------------Query from Management Station-------------------------------->snmpwalk -v 2c -c techpubs 10.11.131.162 .1.3.6.1.4.1.6027.3.2.1.1.5SNMPv2-SMI::enterprises.6027.3.2.1.1.5.1.1.1000.0.1.232.6.149.172.1 = INTEGER: 1000SNMPv2-SMI::enterprises.6027.3.2.1.1.5.1.2.1000.0.1.232.6.149.172.1 = Hex-STRING: 00 01 E806 95 ACSNMPv2-SMI::enterprises.6027.3.2.1.1.5.1.3.1000.0.1.232.6.149.172.1 = INTEGER: 1SNMPv2-SMI::enterprises.6027.3.2.1.1.5.1.4.1000.0.1.232.6.149.172.1 = INTEGER: 1