beautypg.com

Introduction to the stack-port function, Stack-port function configuration, Slave switch configuration – H3C Technologies H3C S3100 Series Switches User Manual

Page 633: Displaying and debugging a stack

background image

1-4

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…

Use the command…

Remarks

Enter system view

system-view

Enter port view

interface interface-type
interface-number

Enable the stack-port function
on the stack port

stack-port enable

Disable the stack-port function
on the stack port

undo stack-port enable

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.

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

Command

Description

Display the stack status
information on the main switch

display stacking [ members ]

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.