Setting Up a Stack by Connecting Stack Cables and Then Configuring Software
Context
Figure 1-29 shows the procedure for setting up a stack by connecting stack cables and then configuring software. You can use this method for remote stack configuration.
If you are at the deployment site, see Connecting Stack Cables.
You must disable stack ports on the high-priority switch and then enable the stack ports. This operation prevents a stack setup failure caused by a stack merge. If stack cables have been connected, during software configuration, the configuration may have not been saved but the stack merge conditions have been met. Low-priority switches will automatically restart without saving their configurations. As a result, they cannot set up a stack because their configurations are lost after their startup.
Procedure
- Make a proper stack plan, including the member switch quantity, member switch roles, and connection topology.
For details about making a stack plan, see Making a Stack Plan.
- Connect member switches using stack cables based on the stack plan.
For details about stack connection rules, see Stack Setup.
For details about stack port and cable requirements, see Stack Port and Cable Requirements.
- Based on the stack plan, log in to the high-priority switch, complete its software configuration, save the configuration, and restart it. The high-priority switch is typically specified as the master switch.
For details about the software configuration, see Configuring a Stack Member ID, Configuring a Stack Priority, Configuring a Stack Domain ID, and Configuring a Stack Port.
- Disable the stack port of the high-priority switch connected to the low-priority switch.
On the high-priority switch, run the interface stack-port member-id/port-id command in the system view to enter the stack port view, and then run the shutdown command to disable the stack port.
- Log in to the low-priority switch, complete its software configuration, save the configuration, and restart it.
For details about the software configuration, see Configuring a Stack Member ID, Configuring a Stack Priority, Configuring a Stack Domain ID, and Configuring a Stack Port.
- Log in to the high-priority switch and enable the disabled stack port.
On the high-priority switch, run the interface stack-port member-id/port-id command in the system view to enter the stack port view, and then run the undo shutdown command to enable the stack port.
Then the two single-chassis stacks merge into one. The low-priority switch restarts and then joins the stack.
- Check whether the stack is set up successfully.
For details about how to check whether the stack is set up successfully, see Verifying Whether a Stack Is Set Up Successfully.
If more member switches need to join the stack, repeat steps 4 through 7 to add the other member switches to the stack.