A stack is running stably and transmitting upstream and downstream services normally. The software of stacked switches needs to be upgraded without interrupting upstream and downstream services.
As shown in Figure 1, switches A to C set up a stack in ring topology and connect to SwitchD through an inter-chassis Eth-Trunk. SwitchA, SwitchB, and SwitchC are the master, standby, and slave switches of the stack, with stack IDs of 0, 1, and 2, respectively.
The S5720-LI series switches are used on the network.
Upload the target system software package to all stack member switches.
Define the active and backup areas for a smooth upgrade.
Start the smooth upgrade.
Ensure that all member switches have the same system software, with the same software package name, version, and path. For details on how to upload files to a switch, see Example for Configuring the FTP Server.
# Assign SwitchB and SwitchC to the backup area, and SwitchA to the active area.
<HUAWEI> startup system-software test.cc all <HUAWEI> system-view [HUAWEI] upgrade backup-area slot 1 to 2
# Check the active and backup areas.
[HUAWEI] display upgrade area
Slot Area Upgrade-Check
------------------------------------
0 active passed
1 backup passed
2 backup passed
[HUAWEI] upgrade start
# Check the smooth upgrade status of the stack.
[HUAWEI] display upgrade state
Slot Area Status
-----------------------------
0 active backup rebooting
1 backup backup rebooting
2 backup backup rebooting