Previously, SG250 performs very well when i configure link aggregation with Openwrt and ASUS ax86u.
But now SG250 often disconnects with 5009 on one gi7 (connect to “ether3(Bond)”).
Here is the log from SG250.
04-Feb-2024 03:35:38 %TRUNK-W-PORTREMOVED: Port gi7 removed from Po1
04-Feb-2024 03:35:38 %TRUNK-I-PORTADDED: Port gi7 added to Po1
04-Feb-2024 03:36:38 %TRUNK-W-PORTREMOVED: Port gi7 removed from Po1
04-Feb-2024 03:36:38 %TRUNK-I-PORTADDED: Port gi7 added to Po1
04-Feb-2024 03:37:38 %TRUNK-W-PORTREMOVED: Port gi7 removed from Po1
04-Feb-2024 03:37:38 %TRUNK-I-PORTADDED: Port gi7 added to Po1
04-Feb-2024 03:38:38 %TRUNK-W-PORTREMOVED: Port gi7 removed from Po1
04-Feb-2024 03:38:38 %TRUNK-I-PORTADDED: Port gi7 added to Po1
04-Feb-2024 03:39:38 %TRUNK-W-PORTREMOVED: Port gi7 removed from Po1
04-Feb-2024 03:39:38 %TRUNK-I-PORTADDED: Port gi7 added to Po1
04-Feb-2024 03:40:38 %TRUNK-W-PORTREMOVED: Port gi7 removed from Po1
04-Feb-2024 03:40:38 %TRUNK-I-PORTADDED: Port gi7 added to Po1
04-Feb-2024 03:41:38 %TRUNK-W-PORTREMOVED: Port gi7 removed from Po1
04-Feb-2024 03:41:38 %TRUNK-I-PORTADDED: Port gi7 added to Po1
For 5009, no link downs can be found in log.
BTW, the disconnection is regular (every 1 min), it can be related to LACP frames (1min interval). If i disable the LACP and set a manually aggregation, it works fine.
Thank you for reply
I can confirm that load balance algorithm is both Layer2 and no link downs on physics.
on Cisco side, i change the lacp port priority, gi7 is still at fault, another trunk member(gi6) works well.
on RB5009 side, i use
/interface bonding monitor-slaves
to monitor the aggragation, noticing the instand disconnection like this
AP port=ether2(Bond) key=9 flags="A-GSCD--" partner-sys-id=B8:11:4B:**:**:** partner-sys-priority=65535 partner-key=1000 partner-flags="A-GSCD--"
P port=ether3(Bond) key=9 flags="A-GSCD--" partner-sys-id=B8:11:4B:**:**:** partner-sys-priority=65535 partner-key=1000 partner-flags="A-GS----"
Then I repeat the configuration process, the disconnection interval become 30sec.
Sorry, but my problem is that if I pick any two ports, one of them will disconnect every 30sec and another port works well. Replacing gi7 with other port makes no difference.
I also tried to set up bonding with a Netgear switch, similar problem.
However, if I disable LACP for static LAG on both side, it works very fine, without drop and disconnection.
Very successful! Thank you for saving me from the problem!
But I can’t figure out why the LACP have to work with RSTP. (I understand that without LAG it is a loop)
This is a bit of a feature that is becoming a bug: “protocol-mode=none” not only disables spanning-tree but results in all L2 multicast frames being forwarded to all ports as well. As a result, the switch was forwarding the LACPDU from one ethernet port to another, resulting in the Cisco switch seeing its own LACPDU, considering there was a loop and dropping the link out of the PO. The last parts are mostly conjectures I will make a lab later today to confirm.
I have a ticket to have “protocol.mode=none” being simply “no spanning-tree” and “protocol-mode=transparent” being the same as today’s none.
That really matches my test today. Although I enable RSTP on both side, no topology change happens. For cisco, all ports forward as before, no RSTP frame is received from mikrotik. But it really fixes LACP.