Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2.3 Stack State Machine
Stacked devices run in one of the following states: Init, Electing, Collecting, and Running, as
shown in Figure 2-2.
Init: After a stacked device starts, it enters the Init state. After local data is initialized, it
enters the Electing state.
Electing: In this state, stacked devices compete to determine the master and slave roles.
Collecting: The master device collects stack topology information and assigns stack IDs
to other devices.
Running: The stack is running stably. Stacked devices may still be starting or have
completed configuration restoration.
Figure 2-2 Stack state machine