1-5
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
As shown in
Figure 1-2
, Switch A, Switch B, Switch C, and Switch D are connected with one
another.
z
Create a stack, where Switch A is the master device, Switch B, Switch C, and Switch D are slave
devices. An administrator can log in to Switch B, Switch C and Switch D through Switch A to
perform remote configurations.
Figure 1-2
Network diagram for stack management
XGE1/2/1
XGE1/2/2
SwitchB: Slave device
XGE1/1/1
XGE1/1/1
SwitchC: Slave device
SwitchD: Slave device
Stack
XGE1/1/1
XGE1/1/1
SwitchA: Master device
Configuration procedure
1) Configure the master device
# Configure a private IP address pool for the stack on Switch A.
<SwitchA> system-view
[SwitchA] stack ip-pool 192.168.1.1 24
# Configure port Ten-GigabitEthernet 1/1/1 as a stack port on Switch A.
[SwitchA] stack stack-port 1 port Ten-GigabitEthernet 1/1/1
# Configure switch A as the master device.