On the S5700-EI or S5700-SI, run the stack enable or undo stack enable command in the system view to enable or disable stacking. Enabling or disabling stacking takes effect after the switch restarts.
<HUAWEI> system-view [HUAWEI] diagnose [HUAWEI-diagnose] stack enable //Enable the stacking function. Warning: All the configurations related to the slot ID will be lost after the stack function is enabled. Warning: The device will be reboot. Continue? [Y/N]:y
<HUAWEI> system-view [HUAWEI] diagnose [HUAWEI-diagnose] undo stack enable //Disable the stacking function. Warning: All the configurations related to the slot ID will be lost after the stack function is disabled. Warning: The device will be reboot. Continue? [Y/N]:y