Mellanox Switches - Tips & Tricks

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Ojref1

New Member
Oct 8, 2018
23
7
3
No, this supercapacitor is for real-time clock (like CMOS battery in a normal PC). It works fine without it.
Now that is excessive for that function IMO, lol. Well replacing it is about $16 - and pointing to a NTP server is free.
 
Last edited:

andreathing

New Member
May 5, 2020
27
11
3
Hi. Does anyone have onyx-X86_64-3.10.4504.img laying around? I couldn't manage to find any functioning download link for it in the thread.
I have many other images if anyone is interested (3.10.[4206,4302,4404,4408,4606])

Edit: typo in firmware versions
 
Last edited:

Alxd

New Member
Aug 31, 2025
7
3
3
You don't need that much images to upgrade.

Target Version | Verified Versions from Which to Upgrade

3.10.46xx | 3.10.45.xx
3.10.4xxx | 3.10.3xxx, 3.10.2xxx
3.10.2xxx | 3.10.1xxx, 3.10.0xxx, 3.9.3xxx

So you can go like 3.9.3xxx -> 3.10.2202 -> 3.10.4504 -> 3.10.4606.
 
Last edited:

mpchris

New Member
Oct 30, 2025
9
0
1
Hi, is anyone in possession of the installer binary for MLNX-OS/Onyx 3.6.8012 or an older version? My SX1410 came without an SSD, so the *.img is of no use, unless someone is aware of a way to install the OS without the *.bin installer.
 

Alxd

New Member
Aug 31, 2025
7
3
3
Hi, is anyone in possession of the installer binary for MLNX-OS/Onyx 3.6.8012 or an older version? My SX1410 came without an SSD, so the *.img is of no use, unless someone is aware of a way to install the OS without the *.bin installer.
Why not use 3.9 or 3.10 install images? Or they are not supported?
 

mpchris

New Member
Oct 30, 2025
9
0
1
Why not use 3.9 or 3.10 install images? Or they are not supported?
According to the table in #1 the latest supported version is 3.6.8012 with the remark "(upgrading beyond WILL brick your switches' BIOS)" so I'd rather not try it out
 

Tim111

Member
Jan 9, 2019
41
5
8
You need to make sure you get the x86 firmware for sx1410 not power pc. Also I think they are the same between models i.e sx1710 sx1720 sx1410. As for image I bought a usb2ssd on Amazon to make image of sx1720 worked great. If you have. Img file you can use linux dd or in windows lots of free apps to burn it to ssd.
 
Last edited:

mpchris

New Member
Oct 30, 2025
9
0
1
You need to make sure you get the x86 firmware for sx1410 not power pc.
Yes, I am aware that the sx1410 is x86 and I think I already got the right image, but thanks for the hint!

If you have. Img file you can use linux dd or in windows lots of free apps to burn it to ssd.
So you're saying I can just dd the downloaded img to the ssd without using ONIE at all? I kind of tried something like this, I extracted the contents of the img file to a new ext4 partition in the free space ONIE left after installing and tried to make it bootable. But I never tried just dding the img straight to disk..
Or would this only work with a complete disk image someone made from a running switch and not the img files I downloaded from the nvidia website/firmware archive?
 

Tim111

Member
Jan 9, 2019
41
5
8
Yes, I am aware that the sx1410 is x86 and I think I already got the right image, but thanks for the hint!



So you're saying I can just dd the downloaded img to the ssd without using ONIE at all? I kind of tried something like this, I extracted the contents of the img file to a new ext4 partition in the free space ONIE left after installing and tried to make it bootable. But I never tried just dding the img straight to disk..
Or would this only work with a complete disk image someone made from a running switch and not the img files I downloaded from the nvidia website/firmware archive?
If dd does not work I can create an image from my switch that should work with dd.
 

mpchris

New Member
Oct 30, 2025
9
0
1
If dd does not work I can create an image from my switch that should work with dd.
I'll try it out first thing in the morning. If it doesn't work, I would highly appreciate it if you could provide me with the image!
 

mpchris

New Member
Oct 30, 2025
9
0
1
I can make it tomorrow after work just let me know.
Sadly the img does not contain a partition table, it's basically just an archive of files. I tried it anyway but it didn't work, as expected. So I think I really do need the proper disk image :/
 

andreathing

New Member
May 5, 2020
27
11
3
Sadly the img does not contain a partition table, it's basically just an archive of files. I tried it anyway but it didn't work, as expected. So I think I really do need the proper disk image :/
There was a guide floating around to reinstall ONIE and then Onyx in the case that the ssd is toasted. Is this your case?
 

Ojref1

New Member
Oct 8, 2018
23
7
3
I have a question regarding the SN2410 and trunking to another switch, namely a HP 3800/52 port. I have 2 VLANs configured on the 2410, 1 (default) and another for iSCSI. ISCSI traffic is isolated, and not going to be forwarded. So the 'default' vlan on the SN2410 is to be forwarded by 2 uplinks to the HP switch to its 2 SFP+ ports 10gb x2. The HP has a single default vlan, untagged

I've configured 2 of the ports on the 2410 to trunking for the VLAN to be forwarded. the 3800 has its 2 ports in a trunk, TRK1. However when connected I see errors in the error log on the 2410 related to the VLAN on the 3800 having a VLAN tag mismatch... Well the default LAN on the 2410 should be untagged to begin with, and even if it has an arbitrary VLAN number of (1) then it should work, as there is only 1 vlan on the 3800, untagged. I tried the so-called Hybrid mode on the SN2410 for 2 ports and all it results in is STP/forwarding loopback errors.

Does anyone have ideas on how to make this work? For right now I'm just using a single 10gb link to the other swtich and that works.
 

mpchris

New Member
Oct 30, 2025
9
0
1
Thanks to Tim111 I now have a disk image from his sx1720 which boots, but after login/first setup wizard the switch is stuck at "Modules are being configured". While booting I saw "tc_ingress_policy[913]: Cannot find device "mgmts0""
So I think that's due to the difference between sx1720 and sx1410. By appending "single" to the boot arguments I managed to get into single user mode/rescue shell, but I don't really know what to do from there. Is it possible to "repair" the system from there or reconfigure it for the actual hardware that's present?

I also tried to copy the files from the downloaded official nvidia image on top of Tims disk image and that brought me a little further (switch performed a bios update while booting), but now the login prompt says "localhost" and no password works.. I guess some files are just blank in this update image and I need to replace them again, but tbh I don't know which.

There was a guide floating around to reinstall ONIE and then Onyx in the case that the ssd is toasted. Is this your case?
I managed to install ONIE without a problem, but it needs an onie-installer (bin file) to be useful - unless there is another guide I haven't found yet?
 

andreathing

New Member
May 5, 2020
27
11
3
Thanks to Tim111 I now have a disk image from his sx1720 which boots, but after login/first setup wizard the switch is stuck at "Modules are being configured". While booting I saw "tc_ingress_policy[913]: Cannot find device "mgmts0""
So I think that's due to the difference between sx1720 and sx1410. By appending "single" to the boot arguments I managed to get into single user mode/rescue shell, but I don't really know what to do from there. Is it possible to "repair" the system from there or reconfigure it for the actual hardware that's present?

I also tried to copy the files from the downloaded official nvidia image on top of Tims disk image and that brought me a little further (switch performed a bios update while booting), but now the login prompt says "localhost" and no password works.. I guess some files are just blank in this update image and I need to replace them again, but tbh I don't know which.



I managed to install ONIE without a problem, but it needs an onie-installer (bin file) to be useful - unless there is another guide I haven't found yet?
I'm referring to the one that is called SSDReplacmentWithONIENOSInstall, I didn't need to use it but i think in the same folder on MEGA should be also an onie .bin image.
 

nasbdh9

Active Member
Aug 4, 2019
219
143
43
Each image file includes an MFG system (you don’t have to use the MFG version that matches the image).

After booting to MFG, run the included manufacture.sh script, this does not require installing ONIE. For switches that use the traditional boot method, please use this installation approach.