cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
562
Views
1
Helpful
21
Replies

mac flapping

Apr 16 04:14:35.390: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe0e in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2Apr 16 04:14:35.390: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe0e in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2

1 Accepted Solution

Accepted Solutions

Hello
Gi1/1 Desg FWD 4 128.1 P2p Peer(STP)
Gi1/2 Root FWD 4 128.2 P2p Peer(STP)
Fa1/2 Desg FWD 19 128.4 P2p
Fa1/3 Desg FWD 19 128.5 P2p
Fa1/4 Desg FWD 19 128.6 P2p

If the above is from your core switch, then its NOT the STP root for all the vlans (11) and its connected to a switch(s) that is not running  RSTP

Post the following from the core switch and its connected switches:
sh cdp neighbours
sh interface trunk

sh vlan brief
sh spanning-tree root
sh spanning-tree vlan 11



Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

21 Replies 21

please help me

 

network is ring topology 

Ring is disconnected, Mac is not flapping, then Ring is on, then same issue.

marce1000
VIP
VIP

 

 - On what kind of Cisco models are these devices connected ?

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

All switches model::::Cisco 2960x cisco c3560 ie2000 

 

 - Do you have consistent spanning tree setup and topology on your network implemented ?

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

 

Yes all switches have STP enabled.

 

            - Do you only have the mac flapping for this single mac address ?

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

 

No many Macs address learning 

*Apr 16 04:14:27.798: %SW_MATM-4-MACFLAP_NOTIF: Host 00a1.62a3.b67a in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:27.801: %SW_MATM-4-MACFLAP_NOTIF: Host 00a1.62a8.7358 in vlan 11 is flapping between port Gi1/1/2 and port Gi1/1/1
*Apr 16 04:14:27.979: %SW_MATM-4-MACFLAP_NOTIF: Host 00a1.62ac.848a in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.119: %SW_MATM-4-MACFLAP_NOTIF: Host 00a1.62ac.8628 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.370: %SW_MATM-4-MACFLAP_NOTIF: Host 00a1.62a8.2068 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.421: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0908.6c73 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.739: %SW_MATM-4-MACFLAP_NOTIF: Host 4447.cc5d.d76b in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.743: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0908.6c8b in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.743: %SW_MATM-4-MACFLAP_NOTIF: Host 00a1.62a8.2134 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.764: %SW_MATM-4-MACFLAP_NOTIF: Host e0ca.3ca8.02e9 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.765: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe1b in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.774: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe06 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.778: %SW_MATM-4-MACFLAP_NOTIF: Host 00a1.62a8.2144 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.778: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe05 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.780: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe21 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.783: %SW_MATM-4-MACFLAP_NOTIF: Host 4447.cc5d.d740 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.788: %SW_MATM-4-MACFLAP_NOTIF: Host 4447.cc5d.d6f4 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.793: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fdfb in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.799: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe10 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.801: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe1d in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.859: %SW_MATM-4-MACFLAP_NOTIF: Host 94e1.ac2c.2882 in vlan 11 is flapping between port Gi1/1/2 and port Gi1/1/1
*Apr 16 04:14:28.864: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe02 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:28.963: %SW_MATM-4-MACFLAP_NOTIF: Host 849a.4095.1338 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:29.198: %SW_MATM-4-MACFLAP_NOTIF: Host f6f6.0006.5a73 in vlan 11 is flapping between port Gi1/1/2 and port Gi1/1/1
*Apr 16 04:14:29.338: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0908.3613 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:29.339: %SW_MATM-4-MACFLAP_NOTIF: Host e0ca.3ca8.02ea in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:29.344: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0907.fe0d in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:29.359: %SW_MATM-4-MACFLAP_NOTIF: Host 001b.0908.360b in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2
*Apr 16 04:14:29.553: %SW_MATM-4-MACFLAP_NOTIF: Host f6f6.0006.5a71 in vlan 11 is flapping between port Gi1/1/1 and port Gi1/1/2

 

 - Then there is a loop somewhere in the network which you will need to identify. You can for instance do this by isolating switches one per one from the network and see when the loop stops.  Once found you know which switch and or connecting devices are causing the loop. Identify the local mac address table on the switch so you can locate the connections. Further actions may include configuring bpduguard. 

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

I will share steps 

Please answer us dont leave issue open and all our work is for nothing 

Now

First step is show spanning tree in all SW 

Write the Root bridge 

It must be same in all SW 

If not same in some' then in SW with different root bidge do

Show spanning tree interface <interface interconnect SW>

Check if you recieve send any bdpu' the count must increase in one direction 

(If you can not decide' share output after do command twice at least)

MHM

 

I will check and let you know because office time is over

Hello MHM

we have check all the switches, STP root ID is same in all but in 3 switches, root ID is not same in VLAN 12

VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 32768
Address 0087.64b6.c5f7
Cost 90
Port 1 (GigabitEthernet1/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0029.c2a1.e200
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi1/1 Root FWD 4 128.1 P2p Peer(STP)
Gi1/2 Desg FWD 4 128.2 P2p Peer(STP)

 

VLAN0011
Spanning tree enabled protocol rstp
Root ID Priority 32768
Address 2c1a.052d.b206
Cost 8
Port 2 (GigabitEthernet1/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32779 (priority 32768 sys-id-ext 11)
Address 0029.c2a1.e200
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi1/1 Desg FWD 4 128.1 P2p Peer(STP)
Gi1/2 Root FWD 4 128.2 P2p Peer(STP)
Fa1/2 Desg FWD 19 128.4 P2p
Fa1/3 Desg FWD 19 128.5 P2p
Fa1/4 Desg FWD 19 128.6 P2p

 

VLAN0012
Spanning tree enabled protocol rstp
Root ID Priority 32780
Address 0029.c2a1.e200
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32780 (priority 32768 sys-id-ext 12)
Address 0029.c2a1.e200
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi1/1 Desg FWD 4 128.1 P2p
Gi1/2 Desg FWD 4 128.2 P2p

  

 

BPDU

VLAN0001 is executing the rstp compatible Spanning Tree protocol
Configured hello time 2, max age 20, forward delay 15, transmit hold-count 6
Port 1 (GigabitEthernet1/1) of VLAN0001 is root forwarding
Port path cost 4, Port priority 128, Port Identifier 128.1.
Number of transitions to forwarding state: 1
BPDU: sent 13793, received 286035
Port 2 (GigabitEthernet1/2) of VLAN0001 is designated forwarding
Port path cost 4, Port priority 128, Port Identifier 128.2.
Number of transitions to forwarding state: 11
BPDU: sent 393711, received 800932
VLAN0011 is executing the rstp compatible Spanning Tree protocol
Configured hello time 2, max age 20, forward delay 15, transmit hold-count 6
Port 1 (GigabitEthernet1/1) of VLAN0011 is designated forwarding
Port path cost 4, Port priority 128, Port Identifier 128.1.
Number of transitions to forwarding state: 80
BPDU: sent 263229, received 7818
Port 2 (GigabitEthernet1/2) of VLAN0011 is root forwarding
Port path cost 4, Port priority 128, Port Identifier 128.2.
Number of transitions to forwarding state: 69
BPDU: sent 12216, received 350153
Port 4 (FastEthernet1/2) of VLAN0011 is designated forwarding
Port path cost 19, Port priority 128, Port Identifier 128.4.
Number of transitions to forwarding state: 4
BPDU: sent 90092, received 0
Port 5 (FastEthernet1/3) of VLAN0011 is designated forwarding
Port path cost 19, Port priority 128, Port Identifier 128.5.
Number of transitions to forwarding state: 17
BPDU: sent 351554, received 0
Port 6 (FastEthernet1/4) of VLAN0011 is designated forwarding
Port path cost 19, Port priority 128, Port Identifier 128.6.
Number of transitions to forwarding state: 17
BPDU: sent 351561, received 0
VLAN0012 is executing the rstp compatible Spanning Tree protocol
Configured hello time 2, max age 20, forward delay 15, transmit hold-count 6
Port 1 (GigabitEthernet1/1) of VLAN0012 is designated forwarding
Port path cost 4, Port priority 128, Port Identifier 128.1.
Number of transitions to forwarding state: 1
BPDU: sent 259260, received 0
Port 2 (GigabitEthernet1/2) of VLAN0012 is designated forwarding
Port path cost 4, Port priority 128, Port Identifier 128.2.
Number of transitions to forwarding state: 1
BPDU: sent 1007148, received 0

Review Cisco Networking products for a $25 gift card