I am asking this question which is related to a question I previously asked and was comprehensively answered by @MikePennington. When I asked that question, I intended to know how to poll arp table from a switch, but in his answer, he included mac address tables as well. Out of curiousity, I polled for the mac address tables. I used the command:
sudo /usr/bin/snmpbulkwalk -v 2c -c public@1 -OXsq 10.0.0.98 .126.96.36.199.188.8.131.52.3.1.2
In Mike`s solution, he had a clear result shown below
[mpenning@tsunami ~]$ snmpbulkwalk -v 2c -c public@10 -OXsq \ 172.16.1.210 .184.108.40.206.220.127.116.11.3.1.2 dot1dTpFdbPort[0:6:53:fe:39:e0] 52 dot1dTpFdbPort[0:1d:a1:cd:53:46] 52 dot1dTpFdbPort[0:30:1b:bc:a7:d7] 52 dot1dTpFdbPort[0:80:c8:0:0:0] 52 dot1dTpFdbPort[38:ea:a7:6d:2e:8e] 52 dot1dTpFdbPort[80:ee:73:2f:b:40] 52 [mpenning@tsunami ~]$
This is a clear solution in which you can easily tell the port and Mac Address. However, my own solution comes out in the form of
iso.18.104.22.168.22.214.171.124.126.96.36.199.188.8.131.52 25 iso.184.108.40.206.220.127.116.11.18.104.22.168.22.214.171.124 25 iso.126.96.36.199.188.8.131.52.184.108.40.206.220.127.116.11 25 iso.18.104.22.168.22.214.171.124.126.96.36.199.188.8.131.52 25 iso.184.108.40.206.220.127.116.11.18.104.22.168.22.214.171.124 25 iso.126.96.36.199.188.8.131.52.184.108.40.206.248.182.16.108 25 iso.220.127.116.11.18.104.22.168.22.214.171.124.126.96.36.199 25
I understand that the port number is 25, but do the other numbers represent a MAC address and if so, why are they different from the give solution?
Any Help will be truly appreciated. I am polling a Cisco Catalyst 2960 switch.