Configuring a Stack Port
Context
Multiple stack member ports can be added to a stack port to improve stack link bandwidth and reliability.
Before configuring a stack port, see "Stack Port and Cable Requirements" in Licensing Requirements and Limitations for Stacks.
It is recommended that you use two or more links to set up a stack. If only one link is used to set up a stack (this method is not recommended), it is recommended that you run the carrier down-hold-time interval command on stack member ports to configure the delay after which the port Down state is reported. This configuration prevents the stack from becoming unstable because of intermittent port disconnection.
Procedure
- Create a stack port.
- Disable the service ports that you want to add to the stack port.
- Run the interface interface-type interface-number command to enter the interface view.
- Run the shutdown command to disable the interface.
- Run the quit command to exit from the interface view.
- Run the commit command to commit the configuration.
Repeat the preceding operations to disable multiple service ports.
Before adding stack member ports into a stack port, shut down these member ports. To prevent these member ports from generating CRC error packets and then entering the Error-Down state, enable these member ports after member ports on both ends of a stack link have been added to stack ports.
- Add service ports to the stack port.
Configurations in the stack management view and the interface view are the same. You can choose either one.
Service ports are automatically configured as stack member ports after being added to a stack port. Alternatively, run the port mode stack interface interface-type { interface-number1 [ to interface-number2 ] } &<1-32> command in the stack management view or run the port mode stack command in the interface view to configure service ports as stack member ports and then add the stack member ports to a stack port.
- Configuration in the stack port view:
Run the interface stack-port port-id command to enter the stack port view.
Run the port member-group interface interface-type { interface-number1 [ to interface-number2 ] } &<1-32> command to add stack member ports to the stack port.
Run the quit command to exit from the stack port view.
Run the commit command to commit the configuration.
- Configuration in the interface view:
Run the interface interface-type interface-number command to enter the interface view.
Run the stack-port port-id command to add the physical port to the stack port.
Run the quit command to exit from the interface view.
Run the commit command to commit the configuration.
- Enable the stack member ports.
Enable these member ports after physical ports on both ends of a stack link have been added to stack ports.
- Run the interface interface-type interface-number command to enter the interface view.
- Run the undo shutdown command to enable the interface.
- Run the quit command to exit from the interface view.
- Run the commit command to commit the configuration.
Repeat the preceding operations to enable the other stack member ports.
- Configure a load balancing mode for the stack port.