华三交换机堆叠实验
链式堆叠
!!!连接前先不要插线,配置完再插线
Master
主不需要重启
#
interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
shutdown
#
irf member 1 priority 10
#
irf-port 1/1
port group interface Ten-GigabitEthernet 1/0/51
port group interface Ten-GigabitEthernet 1/0/52
#
interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
undo shutdown
#
save
#
irf-port-configuration active Standby
#
interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
shutdown
#
irf-port 1/2
port group interface Ten-GigabitEthernet 1/0/51
port group interface Ten-GigabitEthernet 1/0/52
#
interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
undo shutdown
#
irf member 1 renumber 2
#
irf-port-configuration active
#
save
#
连线后 rebootMAD冲突检测
interface Route-Aggregation1
mad bfd enable
mad ip address 1.1.1.1 255.255.255.0 member 1
mad ip address 1.1.1.2 255.255.255.0 member 2
interface GigabitEthernet1/0/48
port link-mode route
combo enable fiber
port link-aggregation group 1
interface GigabitEthernet2/0/48
port link-mode route
combo enable fiber
port link-aggregation group 1
查看命令
dis irf查看堆叠

dis mad verbose查看mad
模拟堆叠故障
拓扑
堆叠交换机G1/0/1和G2/0/1做链路聚合
下联交换机G1/0/1和G1/0/2做链路聚合
做完之后再接线
堆叠交换机链路聚合
interface Bridge-Aggregation5
qu
int g1/0/1
port link-aggregation group 5
qu
int g2/0/1
port link-aggregation group 5
qu
interface Bridge-Aggregation5
port link-type trunk
port trunk permit vlan all
link-aggregation mode dynamic下联交换机链路聚合
interface Bridge-Aggregation5
qu
int g1/0/1
port link-aggregation group 5
qu
int g1/0/2
port link-aggregation group 5
qu
interface Bridge-Aggregation5
port link-type trunk
port trunk permit vlan all
link-aggregation mode dynamic测试
下联交换机接口状态正常,堆叠状态正常

关闭TG1/0/51和TG1/0/52口模拟故障,堆叠分裂,交换机变成两个,备交换机和下联交换机业务口Down
主交换机
备交换机
下联交换机
