S5800 Series Switches Software Upgrade Guide
Models: S5800-8TF12S; S5800-48T4S; S5800-48F4SR
1. Introduction to Version Upgrade
When new features are added or the original performance needs to be optimized, and the current running version is out of date, the device requires an upgrade. This involves loading a higher version of the system software and performing the upgrade through the CLI or WEB interface, followed by restarting the device.
2. CLI Upgrade
2.1 Network Topology
A typical setup involves connecting a PC to the switch. The PC connects to the switch's console port via a console cable (often USB to serial) and to the switch's network port via an RJ45 network cable. The PC's network interface is typically configured with an IP address like 192.168.1.2/24, while the switch's management interface (e.g., ETH/VIAN IF 1) is set to 192.168.1.1.
2.2 Configuration Steps
- Connect Equipment: Connect the PC to the switch using a network cable and a console cable. The RJ45 network cable connects the PC's network card to the switch's network port. The console cable connects the PC's USB port to the switch's console port. One end of the RJ45 cable connects to the PC's network card, and the other end connects to the switch's network port. The console cable connects the PC's USB port to the switch's console port.
- Download Configuration Software: After establishing the connection, use terminal emulation software such as PuTTY or SecureCRT to configure the switch.
- Switch On and Use Login Software: Power on the switch. Open the installed login software. Select the serial port for login mode and identify the correct COM port using the device manager (typically found under "My Computer" > "Manage" > "Device Manager" > "Ports (COM & LPT)"). If an unrecognized USB device is displayed, download and install the corresponding driver. Configure the serial port settings: Baud rate: 115200, Data bits: 8, Parity: None, Stop bits: 1.
-
Login Switch:
After completing the above steps, press the Enter key. You will be prompted to enter the account password. Use the default username and password:
admin
/admin
to log in to the switch. -
Upgrade Software:
Once logged into the switch, open the installed TFTP upload software. Specify the server's root directory in the software's options and place the files to be uploaded into this directory. The file
FSOS_S5800_8TF12S-V5.3.x.bin
should be placed in the root directory of the TFTP server. -
Upgrade uImage:
Execute the following command from the console:
Note: The '5.3.x' in the filename indicates support for all versions within the 5.3 series.Console# copy mgmt-if tftp://192.168.1.2/FSOS_S5800_8TF12S-V5.3.x.bin flash:/boot/FSOS_S5800_8TF12S-V5.3.x.bin
-
Application System File:
Set the system to boot from the new image using the command:
Console#boot system flash:/boot/FSOS_S5800_8TF12S-V5.3.x.bin
-
Reboot the device:
Restart the switch by executing the command:
Console#reboot
-
Upgrade webImage:
After the device restarts, proceed to upgrade the webImage. Use the command:
Console# copy mgmt-if tftp://192.168.1.2/FSOS-webImage-v5.3.x.bin flash:/FSOS-webImage-v5.3.x.bin
-
Enable web services:
Configure the switch to enable web services for management:
Console(config)# http server load flash:/FSOS-webImage-v5.3.x.bin
Console(config)# service http enable
Console(config)# service https enable
3. Web Upgrade
3.1 Network Topology
The network topology for web upgrade is similar to the CLI upgrade, involving a PC connected to the switch via an RJ45 network cable and a console cable. The PC's network interface is typically configured with an IP address like 192.168.1.2/24, while the switch's management interface (e.g., ETH/VIAN IF 1) is set to 192.168.1.1.
3.2 Configuration Steps
-
Enable web services:
Configure the switch to enable web services. Use the following commands:
Console(config)# http server load flash:/FSOS-webImage-v5.3.9.bin
Console(config)# service http enable
Note:Console(config)# service https enable
FSOS-webImage-v5.3.9.bin
is an older web version. -
Login WEB:
Open a web browser and enter the IP address of the switch's management interface in the URL field:
192.168.1.1
. Log in using the default username and password:admin
/admin
. - Upgrade uImage: After logging into the web interface, navigate to "System Management" > "File Management". Select the uImage file to be upgraded. During the upgrade process, do not close the upgrade page or power off the device. After uploading the uImage, click "Use Image" to apply the uImage file. The applied file will be indicated by an asterisk (*).
- Reboot the device: After applying the uImage file, reboot the device. Options are available to save the system configuration before rebooting.
- Upgrade webImage: After the switch restarts, log back into the web interface. Navigate to "System Management" > "File Management" and select the webImage file to be upgraded. During the upgrade process, do not close the upgrade page or power off the device.
- Login New WEB: After upgrading the webImage, log back into the web interface. The monitor page will then display the latest uImage and webImage versions. Note: After the version upgrade, it is recommended to clear the browser cache, as the previous cache might affect the current use of the web interface.