Mellanox switches can hold two firmware images. These images, once uploaded, are called the “Running” and “Image available for install”.
(switch (config)#) Delete old images, if any exist
image delete XXX
(switch (config)#) Copy an image from a local server using sftp.
image fetch scp://root:password@server/path-to-image/image-X86_64-3.4.2002.img
image install image-X86_64-3.4.2002.img
(switch (config)#) Boot the switch into the new firmware.
image boot next
configuration write
reload
(switch#)
show version