Two-machine stacking
sw1 and sw2 for stacking
configuration. The service ports GigabitEthernet0/0/1 and GigabitEthernet0/0/2 of sw1 are physical member ports and added to the corresponding logical stack ports.
sw1:
int stack-pork 0/1
port int g0/0/1 enable
int stack-port 0/2
port int g0/0/2 enable
Do not configure the stack member number and priority, use the default member number 0 and default Priority 100
sw2:
stack slot 0 renumber 1 #Modify the stack member number, the default is 0, here is modified to 1
stack slot 0 priority 10 #Modify the priority, the default is 100, the larger the value, the higher the priority
int stack-pork 0/1
port int g0/0/1 enable
int stack-port 0/2
port int g0/0/2 enable
The three-machine stacking
configuration method is the same as the two-machine stacking
. The point to note is that each machine has two wires to connect to two devices. There is only one wire between the two devices. Two-machine stacking means two wires are connected between the two machines.
sw1:
stack slot 0 priority 200 #Modify the priority, the default is 100, the larger the value, the higher the priority
int stack-pork 0/1
port int g0/0/1 enable
int stack-port 0/2
port int g0/0 /2 enable
sw2:
stack slot 0 renumber 1 #Modify the stack member number, the default is 0, here is modified to 1
int stack-pork 0/1
port int g0/0/1 enable
int stack-port 0/2
port int g0/0/2 enable #Use the
default priority of 100, without configuration
sw3:
stack slot 0 renumber 2 #Modify the stack member number, the default is 0, here is modified to 1
int stack-pork 0/1
port int g0/0/1 enable
int stack-port 0/2
port int g0/0/2 enable #Use the
default priority of 100, without configuration
Note: For older versions, you
must configure before adding the service port to stark-port :
stack port interface g0/0/1 enable
and then add the stack port
int stack-port 0/1
port member-group interface g0/0/ 1
Other configurations are the same as above
Monitoring method:
1. Direct connection detection
stack:
int g0/0/5
mad detect mode direct
int g1/0/5
mad detect mode direct
2. Relay agent detection
Relay agent detection configuration:
stack (stacked switch cluster) configuration cross-device eth-trunk
int eth-trunk 10
trunkport g0/0/10
trunkport g1/0/10
trunkport g2/0/10
mad detect mode relay #configuration cross-device eth-trunk proxy mode multi-master detection function
return
Proxy detection equipment sw4
int eth-trunk 10
mad relay
return
View configuration information
stack:
dis mad verbose
View proxy information
sw4:
dis mad proxy