Introduction to the Stack-Port Function
If you enable the stack function on a stack-supporting device, the device will send join-in requests to the
connected stack ports of all the switches connected with the device. This may cause switches not
expecting to join in the stack to join in the stack automatically, affecting network stability.
You can configure the stack-port function on the stack ports that are connected with other switches to
choose whether to send join-in requests to the switches, so as to prevent the switches that do not
belong to the local stack from joining in.
Stack-Port Function Configuration
Follow these steps to configure the stack port function:
To do...
Enter system view
Enter port view
Enable the stack-port function
on the stack port
Disable the stack-port function
on the stack port
Slave Switch Configuration
Just make sure the slave switch is connected to the main switch through the stack ports. No
configuration is needed.
Displaying and Debugging a Stack
Operation
Display the stack status
information on the main switch
Use the command...
system-view
interface interface-type
interface-number
stack-port enable
undo stack-port enable
Command
display stacking [ members ]
1-4
Remarks
—
—
Use either approach.
Enabled by default.
After a switch joins in a stack or
becomes the master switch of a
stack, the switch will
send/forward stack join-in
requests through this stack
port.
Description
The display command can be
executed in any view.
When executed without the
members keyword specified,
this command displays the
main switch and the number of
switches in the stack.
When being executed with the
members keyword specified,
this command displays the
member information of the
stack, including stack number,
device name, MAC addresses
and status of the main
switch/slave switches.