I have a problem with Cisco switch(catalyst). I want to get all the MAC address being served from the ports of the switch. I found Bridge-MIB which solved my purpose. But now I came to know that there are vlans ( gosh why the world cant be simple:-(( )
OK so here i am stuck up again, I have to use community indexing for all the vlans in order to know the MAC addresses being served from the ports. So can i know the vlans of a device ? I am using SNMP to communicate with the Switch. i know I can get the vlan information from CLI using "Show vlan" command and it just shows me all that I want. But how do i do it by reading MIB ? Which MIB should i look into to get all the vlan ids ?
I thought CISCO-VTP-MIB would help but when i do a snmpwalk on vtpVlanIndex ( full path ---> iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).cisco(9).ciscoMgmt(9).ciscoVtpMIB(46).vtpMIBObjects(1).vlanInfo(3).vtpVlanTable(1).vtpVlanEntry(1).vtpVlanIndex(1) it doesnt return me any values ????
Meanwhile I found one more interesting MIB "CISCO-VLAN-MEMBERSHIP-MIB" and whola things seems to be getting better. I can get which ports belong to which vlan ( it could have been better if i could know the vlan ids since now i have to query for each port and then get the list of vlan ids and then remove the duplicate once and then change my community string to query Bridge-MIB for the MAC Address) ??
I just want to know if someone came accross such a problem ( I am sure someone must have ) and if yes then how did it got solved ?? and if no then am I moving on the right track for getting the vlan ids and then MAC addresss.
I haven't faced such a problem, but I guess it would be a good idea to check if the CISCO-VTP-MIB is supported on the platform that you are running. There is a tool called the MIB Locator that is available to check if the MIB is supported on the device and the image used. Since you haven't mentioned the details of the platform and the image used by you I haven't been able to verify it myself. However here's the link and you could check it yourself.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...