01-26-2020 02:04 AM
Greeetings to all,
I am continuously getting log on my 3560 switch of %SW_MATM-4-MACFLAP_NOTIF: Host 0090.e800.0081 in vlan 12 is flapping between port Gi0/9 and port Gi0/8.
I have connected cisco 3560 to two moxa switches on these ports 0/8 and 0/9 with Moxa switches connected as end of turbo chain as shown in pic with lan cloud being cisco 3560.
Please advise about how remove this flapping message and will it errdisable the ports later?
My port configuration is as below -
interface GigabitEthernet0/8
description interface to MOXA-SW01
switchport trunk encapsulation dot1q
switchport trunk native vlan 12
switchport mode trunk
switchport nonegotiate
logging event trunk-status
logging event bundle-status
logging event status
load-interval 30
udld port aggressive
spanning-tree portfast
spanning-tree guard loop
end
//
interface GigabitEthernet0/8
description interface to MOXA-SW02
switchport trunk encapsulation dot1q
switchport trunk native vlan 12
switchport mode trunk
switchport nonegotiate
logging event trunk-status
logging event bundle-status
logging event status
load-interval 30
udld port aggressive
spanning-tree portfast
spanning-tree guard loop
end
Solved! Go to Solution.
02-02-2020 03:18 AM
Config for ports on Cisco 3560:
!
interface GigabitEthernet0/8
description interface to ADWIP1-MOXA-SW01
switchport trunk encapsulation dot1q
switchport trunk native vlan X(moxa)
switchport mode trunk
switchport nonegotiate
logging event trunk-status
logging event bundle-status
logging event status
load-interval 30
udld port aggressive
spanning-tree portfast
spanning-tree guard loop
!
interface GigabitEthernet0/9
description interface to ADWIP1-MOXA-SW02
switchport trunk encapsulation dot1q
switchport trunk native vlan X(moxa)
switchport mode trunk
switchport nonegotiate
logging event trunk-status
logging event bundle-status
logging event status
load-interval 30
udld port aggressive
spanning-tree portfast
spanning-tree guard loop
!
!
interface VlanX(moxa)
ip address 192.168.x.250 255.255.255.0
!
SPANNING CONFIG
===============
VLAN00X(moxa)
Spanning tree enabled protocol ieee
Root ID Priority 32780
Address 5087.89ec.fb80
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 5087.89ec.fb80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi0/8 Desg FWD 19 128.8 P2p
Gi0/9 Desg FWD 19 128.9 P2p
REPLY FROM MOXA TECHNICAL:
=========================
It is not port flapping. The MAC address 00:90:E8:00:00:81 is the special virtual MAC used as a source MAC by Moxa for some control protocols, such as LLDP, RSTP, Turbo Ring/Chain. It can't be changed. The workaround is to disable LLDP on the Moxa switches or disable the logging of flapping messages on the Cisco.
Should you have additional questions, please feel free to contact me.
Best regards,
MOXA
Sr. Technical Support Engineer
////////////
@balaji.bandi @Georg Pauwen Pls adivse.
Is there any command that can be given on cisco int 0/8,9 to stop showing flap messages?
01-26-2020 02:20 AM
Looks like you have missed gi 0/9 config.
Either end device to moving between the switch, in some cases it's normal. as long as its not affecting services.
if this is effecting service - we need more information.
is your end turbo chain connected to bot the moxa ? (any HLD diagram)
01-26-2020 02:28 AM
01-26-2020 02:30 AM
interface GigabitEthernet0/9
description interface to MOXA-SW02
switchport trunk encapsulation dot1q
switchport trunk native vlan 12
switchport mode trunk
switchport nonegotiate
logging event trunk-status
logging event bundle-status
logging event status
load-interval 30
udld port aggressive
spanning-tree portfast
spanning-tree guard loop
end
01-26-2020 03:43 AM
Hello,
if configured correctly, all traffic should go through the Head port. It looks like MSTP is the only common spanning tree protocol both switches understand, so in order to get rid of the flapping, you would have to configure MSTP on both the Cisco and the Moxas, and then make port 9 on the Cisco the port with a lower priority (to make it the preferred port)
interface GigabitEthernet 0/0
spanning-tree vlan 12 port-priority 0
01-26-2020 12:36 PM
01-26-2020 12:30 PM
01-26-2020 12:52 PM
Hello,
post the output of 'show spanning-tree vlan 12'...
Interface 09 should be in BLK (blocking) mode, and port 8 in FWD (forwarding) mode, is that the case ?
01-26-2020 01:27 PM
Both are in designated or forwarding state eventhough moxa side port corresponding to cisco 0/9 is in blocking as per moxa turbo chain protocol .
I shall share config in morning.
One more point is that as per moxa turbo chain protocal moxa tail port would change from blocking to forwarding whenever there is a cut in moxa ring of switches - ie there will be a sure time in future when both head and tail moxa switches connected to cisco would be forwarding.
So what is to be done in such scenario
01-26-2020 02:54 PM
Hello,
port 9 on the 3650 needs to be in blocking state as well. Does that state change when you configure port 8 (the forwarding port) with:
spanning-tree vlan 12 port-priority 0
01-27-2020 04:35 AM
i would be intrested to see the config along with show spanning tree information to give you right direction.
02-02-2020 03:18 AM
Config for ports on Cisco 3560:
!
interface GigabitEthernet0/8
description interface to ADWIP1-MOXA-SW01
switchport trunk encapsulation dot1q
switchport trunk native vlan X(moxa)
switchport mode trunk
switchport nonegotiate
logging event trunk-status
logging event bundle-status
logging event status
load-interval 30
udld port aggressive
spanning-tree portfast
spanning-tree guard loop
!
interface GigabitEthernet0/9
description interface to ADWIP1-MOXA-SW02
switchport trunk encapsulation dot1q
switchport trunk native vlan X(moxa)
switchport mode trunk
switchport nonegotiate
logging event trunk-status
logging event bundle-status
logging event status
load-interval 30
udld port aggressive
spanning-tree portfast
spanning-tree guard loop
!
!
interface VlanX(moxa)
ip address 192.168.x.250 255.255.255.0
!
SPANNING CONFIG
===============
VLAN00X(moxa)
Spanning tree enabled protocol ieee
Root ID Priority 32780
Address 5087.89ec.fb80
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 5087.89ec.fb80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi0/8 Desg FWD 19 128.8 P2p
Gi0/9 Desg FWD 19 128.9 P2p
REPLY FROM MOXA TECHNICAL:
=========================
It is not port flapping. The MAC address 00:90:E8:00:00:81 is the special virtual MAC used as a source MAC by Moxa for some control protocols, such as LLDP, RSTP, Turbo Ring/Chain. It can't be changed. The workaround is to disable LLDP on the Moxa switches or disable the logging of flapping messages on the Cisco.
Should you have additional questions, please feel free to contact me.
Best regards,
MOXA
Sr. Technical Support Engineer
////////////
@balaji.bandi @Georg Pauwen Pls adivse.
Is there any command that can be given on cisco int 0/8,9 to stop showing flap messages?
02-02-2020 04:01 AM
if you like to disable LLDP for that interface as per the vendor suggestion, here is command syntax. it should work for you.
02-02-2020 04:24 AM
Hello,
if you just want to stop the message from showing up in the logs, you can use the logging discriminator below:
logging discriminator MACFLAP severity drops 4 facility drops MATM mnemonics drops MACFLAP_NOTIF
!
logging buffered discriminator MACFLAP 100000
logging console discriminator MACFLAP
logging monitor discriminator MACFLAP
logging host 192.168.12.200 discriminator MACFLAP --> if you send the logs to a remote syslog server
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