Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
synchronizes the collected topology information, its own system software and configuration
file to other member switches and runs stably.
If the master and slave switches run different software versions, the slave switches synchronize the
software version with the master switch after a stack is set up.
Figure 2-4 Packet exchange during a stack setup
Electing state
SwitchA
(Master)
SwitchB
(Standby)
SwitchC
(Slave)
SPDUA
SPDU C
Receives SPDU
B, takes part in
stack competition,
and becomes the
master
Receives SPDU A and takes part in
stack competition. SwitchA
competes to be the master, and
SwitchB becomes the standby to
send an SPDU to its neighbor
Hello B
Receives
Hello packets
Receives Hello packets Receives Hello packets
Receives an SPDU and takes part
in stack competition. SwitchA
competes to be the master, and
SwitchC becomes the slave switch
Topo Report
Sends a Topo Report
packet to the master switch
Topo Report
Assign
Assign
Receives a Topo
Report packet and
assigns a stack ID
to SwitchB
Assign ACK
Assign ACK
Sends a Topo Report
packet to the master switch
SPDU B
Hello A
SPDU B
Hello B
Hello C
Receives SPDU B and takes part in
stack competition. SwitchB
competes to be the master and
discards the SPDU because it has
no neighbors
Collecting state
Running state
Running state
Running state
SPDU A
Electing state Electing state
Collecting state Collecting state
Receives a Topo Report packet
and assigns a stack ID to SwitchC
2.5 Member Switch Addition
You can add a switch a stably running stack, as shown in Figure 2-5.