Mikrotik CRS510-8XS-2XQ certain ports not linking at 25G

Hi,

I’ve got some P225p broadcom 2 port 25g nic’s on a Supermicro H12SSL-i motherboard.

The issue is on various OSes, even just in the BIOS the issues I’m having are present.

The issue is that some ports on the P225p will auto negotiate 25G with the switch, but then flap up and down and eventually mostly just stay down. They do not pass traffic. If I turn auto-negotiate off I can get it to link at 1G. The strange part is that if I move the DAC cable to a different port on the switch, it will link. And if I move to a different p225p port it may link on one of the previously non-working switchports.

I’ve got 2 p225p’s per server, 5 of these servers, and 4 of the CRS510-8XS-2XQ.

I’ve got the same settings applied to each of the p225p’s, and each of the Switches. There doesn’t seem to be a correlation to the issues occurring on a particular switch as when I swap the switch positions the problems will be present on a different switch.

I’ve got RDMA turned off on each of the network cards, and the settings are the same between the ports which are working and which aren’t working.

For context on how this will eventually be setup it’ll be 5 Ceph nodes with a separate frontend and backend networks (2x switches in each). With LACP setup on one port on each of the two network cards for the frontend and backend, and MLAG between the switches in the frontend, and same for the switches on the backend.

I’ve got traffic flowing across the MLAG but I’m finding it hard to move forward with such a strange issue that I can’t get some of the ports to link properly at 25G.

The DAC cables are all Mikrotik and I haven’t noticed a trend between any individual cable and these issues. The same cable and port (on either side) will successfully link, but there are specific combinations which just will not link up.

I’ve factory reset various parts and tried a lot of moving things around.

I’ve successfully written to the Ceph cluster at 1GB/s over this network (limited by the 10G connection on my workstation) so these issues aside I think the actual network config on the switches is approaching being correct.

It’s at my job and I’m finding this to be such a weird situation that no matter what the fix ends up being I think it’s going to be interesting and worth documenting it here. I’m in touch with some people for support but it’s the kind of thing that someone here may have come across something slightly related in the past and if not just writing it here might help someone in the future

Random guess: Dirty contacts?

I didn’t read your entire post, but it’s probably FEC (Forward error correction) and/or disabling speed negotiation.

1 Like

I have the same switch, i only use optical links of various brands on it with very few problems. The only thing i needed to do is select FEC91 when setting up the SFP modules, if i set it to auto, the links would not stay up. I did have some loop problems due to the LAN admin port, somehow i can’t just fix this port to only allow admin access over it since ordinary traffic always seem to find a way to use this port, I still don’t get how that works, but now it seems to be stable. Anyway, i also use the 2 100GBe connections and plugged a 10Gbe ethernet cable module into a 25GBe port and it worked fine, I did flash it to the latest firmware.

2 Likes

Mikrotik seems to have implicit default rules that allow admin access from all ports, unless explicitly blocked in the firewall rules. Personally not a fan of that.

1 Like

Ok, i’m not using their firewall, don’t understand why one would want normal traffic through a slow admin port, as you mention, a user should explicitly configure that if that behaviour is wanted, I think i disabled some port on the switch chip, to make the loop errors go away. The UI is a bit confusing, but it does have more possibilities than an average switch.

It’s a possibility, I just blew them out with compressed air and wiped the contacts with IPA and it didn’t change the result but it’s still an option.

Thanks, I’ve tried forcing on Fec91 and 74 and found no difference. I can get the links to work at 1G by disabling negotiation, but I can’t get anything higher on these problem ports.

My 100G ports are working correctly too, thankfully

I haven’t noticed that issue but I do have the management port plugged into the same switch as my uplink from these switches so STP is probably keeping it OK?

–

One of the links is flapping up and down now after negotiating 25G, I’ve got it on FEC91 where it wasn’t coming up at all before with FEC74 or OFF. Two more on that switch are getting into Auto Negotiate: Done, Rate: Unknown

Those same DAC cables and hosts will immediately link at 25G on other switches.

I’m writing to the array at 700-850MB/s from a single host via SMB after taking the second backend switch down and out of the situation.

I am still wondering if it’s an issue with one of the switches as 3/4 of them seem to be working fine…

I am using optical links, I have one copper link only at 1Gbit to an old switch, this one is the most troublesome, it is a very short cable, if i move the old switch a tiny bit (some bending in the cable occurs), i immediately see the errorrate go up. Why not go optical?, i bought some 10Gtek 25GBe GBIC they are very cheap and the optical cable also costs not much, copper seems much more susceptible to disturbances.

1 Like