![H3C S5120-SI Series Operation Manual Download Page 683](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174683.webp)
1-4
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the specified ports as
stack ports
stack
stack-port
stack-port-num port
interface-list
Required
By default, a port is not a stack
port.
After a device joins a stack and becomes a slave device of the stack, the prompt changes to
<stack_n.Sysname>, where n is the stack number assigned by the master device, and Sysname is the
system name of the device.
Logging In to the CLI of a Slave from the Master
In a stack, you can log in to the CLI of a slave device from the master device and perform configurations
for the slave device.
Follow the step below to log in to the CLI of a slave device from the master device:
To do…
Use the command…
Remarks
Log in to the CLI of the
specified slave device from the
master device
stack switch-to member-id
Required
Available in user view
The
stack switch-to
command is used to log in to the CLI of a slave device from the master with the
user level being unchanged. To return to the master device, use the
quit
command.
Displaying and Maintaining Stack Configuration
To do…
Use the command…
Remarks
Display the stack information of
stack members
display stack
[
members
]
Available in any view
Stack Configuration Example
Stack Configuration Example
Network requirements
z
Switch A, Switch B, Switch C, and Switch D are connected with one another.