< Home

Example for Upgrading a Stack (Smooth Upgrade)

Networking Requirements

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.

Figure 1 Stack topology

Configuration Roadmap

  1. Upload the target system software package to all stack member switches.

  2. Define the active and backup areas for a smooth upgrade.

  3. Start the smooth upgrade.

Procedure

  1. Upload the target system software package to all stack member switches.

    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.

  2. Define the active and backup areas for a smooth upgrade.

    # 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
    The member switches with stack IDs in the specified range join the backup area, and the other member switch automatically joins the active area.
    Follow these rules to define the active and backup areas in a stack:
    • The active and backup areas cannot have the same member switch, and both areas must have at least one member switch.
    • The backup area cannot contain the master switch.
    • Member switches in each area must be directly connected.
    • Member switches in the active and backup areas form the entire stack.

    # Check the active and backup areas.

    [HUAWEI] display upgrade area
    Slot      Area         Upgrade-Check                                            
    ------------------------------------                                            
       0      active       passed                                                   
       1      backup       passed                                                   
       2      backup       passed                                                   

  3. Start the smooth upgrade.

    [HUAWEI] upgrade start

  4. Verify the configuration.

    # 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                                         

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic