I have a site that has about 20 Cisco 2960S switches and a couple Cisco 4900M switches that I have NetXMS monitoring.
NetXMS is using the CATALYST-GENERIC Driver so it appears that the switches are being recognized.
I am on NetXMS version 1.2.17 at this site.
The problem I'm running into is that NetXMS seems to only be aware of some of the MAC addresses on the switch. If I try to find a switch port, it never reports a direct connection. It always reports that a given node is indirectly connected to a remote switch.
In researching the problem, I've determined that NetXMS is only storing "dynamic" MAC addresses. It ignores "static" MAC addresses. We use Cisco's security features where it learns what mac addresses are directly connected to a port and only lets those addresses on that port. This prevents someone from plugging in a foreign device that we don't know about. Apparently, even though those addresses are "learned", Cisco classifies them as Static.
Strangely when I snmpwalk the switches, all the mac addresses appear and I don't see anything obvious that would distinguish between static addresses and dynamic addresses. When I researched cisco literature, I couldn't even find a reference for using SNMP to look at whether an address is static or dynamic. So, I'm puzzled at why the static addresses are missing.
Is there are way of configuring NetXMS to store all the addresses? I would really like to be able to use the "Find switch port" feature on an object to see the local port it is connected to. Seeing that it indirectly connects to a root switch in the core isn't helpful since all my devices connect to one of the two root switches.
I've attached the following files to demonstrate the problem. I picked a simple 24 port gigabit switch, that has an additional 2 ports of ten-Gigabit. We always use one of the Ten Gigabit ports as a trunk to the other switches. typically the gigabit ports are connecting to servers and other nodes in the same rack.
Please let me know if you need additional info.
NetXMS is using the CATALYST-GENERIC Driver so it appears that the switches are being recognized.
I am on NetXMS version 1.2.17 at this site.
The problem I'm running into is that NetXMS seems to only be aware of some of the MAC addresses on the switch. If I try to find a switch port, it never reports a direct connection. It always reports that a given node is indirectly connected to a remote switch.
In researching the problem, I've determined that NetXMS is only storing "dynamic" MAC addresses. It ignores "static" MAC addresses. We use Cisco's security features where it learns what mac addresses are directly connected to a port and only lets those addresses on that port. This prevents someone from plugging in a foreign device that we don't know about. Apparently, even though those addresses are "learned", Cisco classifies them as Static.
Strangely when I snmpwalk the switches, all the mac addresses appear and I don't see anything obvious that would distinguish between static addresses and dynamic addresses. When I researched cisco literature, I couldn't even find a reference for using SNMP to look at whether an address is static or dynamic. So, I'm puzzled at why the static addresses are missing.
Is there are way of configuring NetXMS to store all the addresses? I would really like to be able to use the "Find switch port" feature on an object to see the local port it is connected to. Seeing that it indirectly connects to a root switch in the core isn't helpful since all my devices connect to one of the two root switches.
I've attached the following files to demonstrate the problem. I picked a simple 24 port gigabit switch, that has an additional 2 ports of ten-Gigabit. We always use one of the Ten Gigabit ports as a trunk to the other switches. typically the gigabit ports are connecting to servers and other nodes in the same rack.
- An SNMP walk of the 3 VLANs and typical OIDs used for mapping the MAC table to switch ports. I used the following reference to get those OIDs:
- A screen capture from Object Details of the switch
- An Excel Spreadsheet in which I compared the output of NetXMS's exported Switch Forwarding Database to the list produced by telneting into the switch and running a "show mac address-list". I sorted both of those items by MAC address and inserted blank lines whenever appropriate to keep the MAC addresses matching. When looking at that comparison, you can see that all the "static" entries are missing from NetXMS's data. There are other items missing from NetXMS and from the Cisco output, but I consider that related to timing and just noise because there is no consistent pattern.
Please let me know if you need additional info.