Wednesday , October 30 2024
Home / How To / how to upgrade stacked S5300 switches

how to upgrade stacked S5300 switches

When a single switch is upgraded, services are interrupted about 3 minutes. This time increases when a stack is upgraded. Methods of upgrading the system software of S5300 and S6300 are the same. We can focus on Huawei S5300 switch as an example. Let’s assume we have 2 switches in the stack.

<labnario> display stack
Stack topology type: Ring
Stack system MAC: 80fb-06b1-69eb
MAC switch delay time: 10 min
Stack reserved vlanid : 100
Slot#     role        Mac address      Priority   Device type
------    ----        --------------   ------     -------
    0     Master      80fb-06b1-69eb   100        S5352C-EI
    1     Standby     80fb-06ab-f6e3   120        S5352C-EI

At first you have to check a space of flash memory of the switch. If there is no enough space in the flash to fit a new system software, just delete the old (current) system software, for both Master and Member switches:

<labnario> delete /unreserved flash:/S5300EI-V100R005C00SPC100.cc
Info:This is Next startup system software.If you delete it,there is no software to reboot successfully!Confirm to delete the file? [Y/N]:y
Warning: The contents of file flash:/S5300EI-V100R005C00SPC100.cc cannot be recycled. Continue? [Y/N]:y
Info: Deleting file flash:/S5300EI-V100R005C00SPC100.cc...
Deleting file permanently from flash will take a long time if needed................succeeded.
<labnario> delete /unreserved slot1#flash:/S5300EI-V100R005C00SPC100.cc
Info:This is Next startup system software.If you delete it,there is no software to reboot successfully!Confirm to delete the file? [Y/N]:y
Warning: The contents of file slot1#flash:/S5300EI-V100R005C00SPC100.cc cannot be recycled. Continue? [Y/N]:y
Info: Deleting file slot1#flash:/S5300EI-V100R005C00SPC100.cc...
Deleting file permanently from flash will take a long time if needed................succeeded.

Upload a new software to Master switch. If you do not remember how to do this, just go to upgrade of huawei’s S5300 switch.

Specify the uploaded software as the next startup software. As you can see the new software is copied to Member switch automatically. You have an answer now, why upgrading time of stack switches increases, comparing to a single device.

<labnario> startup system-software S5300EI-V200R001C00SPC300.CC all
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
BOOTROM begin to be upgraded ! please wait for a moment

Info: BOOTROM UPGRADE OK
Info: Succeeded in setting the software for booting system on 0.
100%  complete\
Info: Copied file flash:/S5300EI-V200R001C00SPC300.cc to slot1#flash:/S5300EI-V200R001C00SPC300.cc...Done.
Info: Succeeded in setting the software for booting system on 0.
Info: Succeeded in setting the software for booting system on 1.

Restart the switch:

<labnario> reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the next startup:flash:/vrpcfg.zip, Continue?[Y/N]:n
Now saving the current configuration to the slot 0.
Info: Save the configuration successfully.
Now saving the current configuration to the slot 1.
Info: Save the configuration successfully.
System will reboot! Continue?[Y/N]:      y

Info: system is rebooting, please wait…
----End

Leave a Reply

Your email address will not be published. Required fields are marked *