<stack_0.Sysname> stacking 1
<stack_1.Sysname>
<stack_1.Sysname> quit
<stack_0.Sysname>
stacking enable
Syntax
stacking enable
undo stacking enable
View
System view
Parameter
None
Description
Use the stacking enable command to create a stack.
Use the undo stacking enable command to remove a stack.
The stacking enable command triggers a main switch to add the switches connected to its stack ports
to the stack.
The undo stacking enable command can only be executed on a main switch.
A slave switch quits the stack automatically when it is disconnected from the stack.
Remove the IP address configured for the existing Layer 3 interface first if you want to cancel the
stack-related configuration, otherwise, IP address conflicts may occur.
Example
# Create a stack.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stacking enable
[stack_0.Sysname] quit
<stack_0.Sysname>
stacking ip-pool
Syntax
stacking ip-pool from-ip-address ip-address-number [ ip-mask ]
1-4