Hi folks,
After recently having stability problems with 2 switches, both with RouterOS 7.14.2, I noted the following warning in the switch logs:
interface, warning <interface> excessive or late collission, link duplex mismatch?
This warning coincided with the switches starting to drop connectivity. Over time, more and more connections were dropped, until the switches became completely dead.
The culprit here was an optical link using a SFP+ interface in each of the switches. The endpoint was an older switch that only had gigabit capability.From the beginning, the SFP+ interfaces were set to automatic detection of link speed, and getting an active link was problematic. The old 1 Gbit switch had to be rebooted once or twice to connect. After setting a fixed link speed to GbaseX on the SFP+ ports, the problem was solved, and the connections were stable.
When the switches started to ill behave, the rest of the network was also affected, similar to existence of a network loop.
IMHO, this error should result in immediate shut down of the offending port, and not cause switch instability. The error should also be displayed as an error, and not as a warning in the logs.
As the error does not cause immediate problems, but after some time, makes it very hard to track down. One way to immediately provoke the error seems to be sending wake up packets (WOL).
So, please MikroTik, correct this bug in RouterOS. Close the offending port immediately, and log an error, and make sure the switch remains stable.
There should also be a very clear warning in the documentation, that link speed should be set manually if the switch interface has got higher capability, than on the other end of the connection. Or fix the automatic detection, so it works reliably. Automatic detection of link speed does not work even between MikroTik switches, where the two end points have got different capabilities. For example connecting a QSFP+ port with 100 Gbit capability on one switch, to a switch having only 40 Gbit capability with a DAC-cable XQ+DA0001 or XQ+DA0003, wont work. You need to set maximum link speed to 40 GbitCR on the faster switch, otherwise you're out of luck.
Best regards,
Peter