Stacked Switch Replacement Guide
You may need to replace a faulty member switch in a stack. To prevent services from being interrupted during the switch replacement, use inter-device link aggregation to connect upstream and downstream devices for link backup.
CE8800, CE7800, CE6800, and CE5800 Series Switches
Replace one member switch in a stack of two member switches.
SwitchA and SwitchB set up a stack. SwitchA is faulty and needs to be replaced by SwitchC. You are advised to follow this procedure to complete the replacement:Ensure that SwitchC has the same system software version and hardware model as SwitchA before the replacement. To check the system software version and hardware model of switches, run the display version and display device commands.
Run the display stack, display stack configuration, and display interface brief commands to check and record the stack status, stack configuration and interface status.
Before connecting SwitchC with stack cables, power on and perform the stack configuration on SwitchC in accordance with the stack configuration on SwitchA. For details about the stack configuration, see the configuration guide. After the configuration is complete, save the configuration and then restart SwitchC.
In addition to configuring stack commands one by one on SwitchC, you can copy the stack configuration file of SwitchA to SwitchC to ensure the same configuration on the two switches.Change the stack member ID of SwitchC to the same as SwitchA and then restart SwitchC to make the modification take effect. If SwitchC is a CE12800, CE16800, and CE12800E switch, you also need to enable the stack function.
After SwitchC starts, copy the stack configuration file to SwitchC. SwitchC then restarts with this configuration file. Subsequently, SwitchC has the same configuration as SwitchA.
After SwitchC starts, check whether it has the same stack configuration with SwitchA again. If so, power off SwitchC.
Run the display stack command to check whether SwitchA is the master switch. If so, perform an active/standby switchover in the stack. If not, go to the next step.
<HUAWEI> display switchover state //Check whether the system meets switchover requirements. Switchover State : Ready //You can perform an active/standby switchover only when the Switchover State field displays Ready. Switchover Policy : Board Switchover MainBoard : 1 SlaveBoard : 2 <HUAWEI> system-view [~HUAWEI] slave switchover enable //Enable the active/standby switchover function. [*HUAWEI] commit [~HUAWEI] slave switchover //Perform an active/standby switchover. Warning: This operation will switch the slave board to the master board. Continue? [Y/N]: y
After an active/standby switchover is performed, the master switch will restart. After the switch restarts and joins the stack again, go to the next step. To check whether the switch has joined the stack again, run the display stack command.
Power off and remove SwitchA.
Install SwitchC and connect cables to its service ports, stack ports, and ports that have dual-active detection (DAD) configured.
Power on SwitchC so that SwitchC joins the stack as a new member. Run the display stack command to check whether SwitchC can set up a stack with SwitchB.
After SwitchC and SwitchB set up a stack, run the display stack configuration and display interface brief commands to check the stack configuration and interface status. Ensure that the stack configuration is the same as that used before the device replacement and interfaces become Up normally.
After confirming all services are normal, run the save command to save the stack configuration.
If the current master and standby switches are different from those before the device replacement, perform an active/standby switchover.
Replace one member switch in a stack of three or more member switches (in a ring topology).
In a stack set up by three or more member switches in a ring topology, the device replacement procedure is similar to that in a stack of two member switches. For details, see Replace one member switch in a stack of two member switches.
Replace one member switch in a stack of three or more member switches (in a chain topology).
In a stack set up by three or more member switches in a chain topology, the replacement procedure of edge switches on both ends is similar to that in a stack of two member switches. For details, see Replace one member switch in a stack of two member switches. To replace an intermediate switch, change the stack connection topology to the ring topology and then replace the switch according to Replace one member switch in a stack of two member switches. The procedure is as follows:On edge switches on both ends, create a logical stack port and add member ports into the logical stack port, and then connect these ports using cables.
<HUAWEI> system-view [~HUAWEI] interface stack-port 1/1 //Create a logical stack port. [*HUAWEI-Stack-Port1/1] port member-group interface 10ge 1/0/1 to 1/0/2 //Add member ports into the logical stack port. [*HUAWEI] commit
After cables are connected, run the display stack topology command to check whether the stack connection topology is changed to the ring topology.
After the stack connection topology changes to ring topology, replace the switch according to Replace one member switch in a stack of two member switches.
To restore the stack connection topology to chain topology after the replacement, remove the stack cables connected in step 1.
CE12800, CE16800, and CE12800E Series Switches
In a stack of two CE12800, CE16800, and CE12800E switches, replace the faulty member switch according to Replace one member switch in a stack of two member switches of CE8800, CE7800, CE6800, and CE5800 series switches.