So I enabled the trap functionality on the interfaces, but I found it strange something like that does not come by default. I temporarily made this setting:
mac-age 900 *
ethernet interface 1/1/1 to 1/1/48
snmp-server enable traps mac-notification
* Mac-age is because we do not have a lot of asset changes in the building, so I've left that MAC time-out.
With this, some MACs are passed on, but still not enough because only some MACs are passed on.
This is the output of the log, when it collects the mac, it is not always:
Nov 7 15: 29: 54: N: MAC-Event: MAC: 0021.b753.e19f-VLAN: 234-PORT: 1/1/40-ACT: 1 :: MAC: 0000.0000.0000-VLAN: 0-PORT : 1/1/15-ACT: 4 :: MAC: 0000.0000.0000-VLAN: 0-PORT: 1/1/15-ACT: 4 :: MAC: d43d.7ec2.0aa1-VLAN: 234-PORT: 1 /1/15-ACT:1::MAC:0000.0000.0000-VLAN:0-PORT:1/1/46-ACT:4 ::
What
I could use would be a functionality that would pass all MACs to the
end of the range, or, simpler, the MACs directly connected to the
interface.
Here are the log settings I've done too. Maybe I did something wrong with this:
logging host 10.69.234.148
logging host 10.69.235.4
logging facility local7
logging persistence
logging cli-command