How to factory Reset Mellanox Switch
Mellanox switch factory reset Procedure
Last verified: November 2026.
Mellanox Switch Reset: Quick Answer
- Hold the RST button for 15 seconds with a paper clip; the switch reboots with factory settings.
- From the CLI (Onyx / MLNX-OS): configure terminal, then reset factory and confirm.
- Onyx default login after reset: admin / admin (read only: monitor / monitor).
- Switches with Cumulus Linux: cumulus / cumulus, and you must set a new password at the first login.
Factory Reset
If your forget the admin password or you want to reset the configurations, then you can factory reset the switch.
To factory reset, press and hold the RST button for 15 seconds using a paper clip or some sharp object. The LED’s will flicker and the switch will reboot. Now the switch will be reset to factory default settings.

