08-22-2022 12:55 PM
We have a problem that doesn't make much sense. We boiled it down to the simplest case. We have 2 C1000 switched, a 24 port and a 16 port. We have port 23 of the 24 port trunked to port 16 of the 16 port. Both ports are configured as 'trunk' mode.
One PC is plugged into port 13 of the 24 port switch. The logs on the 24 port switch indicate abnormal condition of mac address flapping for the PC MAC:
Aug 22 14:36:41.920: %SW_MATM-4-MACFLAP_NOTIF: Host XXXX.XXXX.c4e7 in vlan 1 is flapping between port Gi1/0/13 and port Gi1/0/23 Aug 22 14:36:32.914: %SW_MATM-4-MACFLAP_NOTIF: Host XXXX.XXXX.c4e7 in vlan 1 is flapping between port Gi1/0/23 and port Gi1/0/13
We have STP enabled and tried every mode on the switches with the same result. Anyone know what could be going on? Both are on the latest IOS release.
08-22-2022 05:33 PM
there is any BPDU filter config in global mode ? this case indicate that there is L2 LOOP
08-22-2022 06:06 PM
08-22-2022 06:57 PM
Check then native vlan in both sw
08-23-2022 08:52 AM
The native VLAN is 1 on both switches. All ports are set up this way.
08-23-2022 09:28 AM
OK,
only show mac address table in both SW
the VLAN for the MAC must be VLAN 1
I think that the Second SW the VLAN for MAC address is different.
08-23-2022 10:07 AM
Both 'show mac address-table' tables on the switches show the MAC as VLAN 1 MAC on the right port, port 13 for the 24-port C1000 and port 16 (trunk) for the 16-port. This problem makes no sense and we need to recommend customers switch to these switches. Having trouble doing this when we can't get a basic configuration not to show errors...
08-22-2022 10:31 PM
A MAC Flap is caused when a switch receives packets from two different interfaces with the same source MAC address.
If you are getting the behavior for a lot of other MACs, that most likely is a layer 2 loop.
You can do the following:
08-23-2022 09:07 AM
- These switches are factory default settings other than the IP and trunk mode settings for the trunk ports (16 and 23).
- We tried all modes of spanning-tree, same results
- This command only shows 1 entry for the MAC on Gi1/13 where the PC is plugged in.
- Again, only one port shows the mac. Since there are only 2 ethernet cables in this system that makes sense, we can't create a loop.
- There are no load balancing configurations enabled, there is only 2 cables, 1 trunked to another C1000 with nothing plugged in, and 1 connected to port 13 into a PC (which we're getting flapping messages for)
08-25-2022 07:29 AM
Anything else we could try? For more information - this problem goes away completely if we plug a 3rd switch into port 24 of the C1000. The C1000 is now trunked to both the 16 port and another 3650 - the flapping messages stop. It's only when 2 C1000 are trunked together that we see this issue.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide