On the test, I will use the D-Link DGS-3100-24TG rev.A2 switch with firmware 3.60.44 and Boot PROM v.1.0.1.05.
Download the new firmware from the official site
At the time of this writing, I downloaded version 3.60.45.
After downloading, put the firmware file and if a boot file is required on the TFTP server.
How to start the TFTP server I described in these articles:
Starting a TFTP server in Windows
Installing and Configuring a TFTP Server in Ubuntu
Now we connect to the switch via telnet or console cable and execute a command that shows the installed firmware version of the switch:
Before updating the firmware, you can just in case send the current configuration file to the TFTP server:
upload configuration 192.168.1.2 file.cfg
If you need to update the bootloader, run the command:
download boot 192.168.1.2 DGS-3100_series_A1A2_Boot_1.01.05.rfb
If the switch does not reboot after the boot loader or firmware has been written, the following command should be executed:
Download the firmware file to the switch from the TFTP server:
download firmware 192.168.1.2 DGS-3100-xx-3.60.45.ros
Restart the switch again if it doesn’t do this itself.
Through the web-interface, the firmware of the switch can also be updated by opening the “Tools” tab – “Firmware Download” at the top.
You can update the firmware either through a TFTP server or through the HTTP interface by selecting the firmware file on the computer.
After updating the firmware, the switch settings remained unchanged. I updated the firmware remotely.
Process filmed on video: