I will give an example of updating the firmware of the Huawei Quidway S2326TP-EI switch.
First, let’s look at the current firmware version:
You can view the list of files in the switch memory using the command:
Let’s see what files are specified boot:
Unnecessary files can be deleted like this (if you are not sure that the switch will start with your new firmware, then it is better not to delete it):
delete /unreserved s2300-v100r006c01spc100.cc
Official firmware is located at (registration required):
The firmware I was flashing can be downloaded here:
From the archive with the official firmware, I only flashed the S2300EI-V100R006C05.cc file and the S2300EI-V100R006C05.web.zip file for the web interface, then with my configuration file, changing the IP address to it in advance. The bootrom file can change the password on the bootrom menu!
Also, just in case, I saved the version of v100r005c01spc100 (since I noticed that some switches might not start on new firmware and rebooted cyclically):
The downloaded firmware file will be saved on the TFTP server and uploaded to the switch:
tftp 192.168.1.3 get S2300EI-V100R006C05.cc
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
We indicate that it is bootable:
startup system-software S2300EI-V100R006C05.cc
Reboot the switch:
Done, the switch should boot from the new firmware.
See also my article:
Huawei Quidway S2300 firmware upgrade via BOOTROM MENU