华三堆叠配置基础
2021-05-30 本文已影响0人
小小的小

思路:堆叠是将多台交换机虚拟成一台交换机
本案例是用业务口进行堆叠
SW1
sys
sysname SW1
irf member 1 priority 20
int ten1/0/50
shutdown
qu
irf-port 1/1
port group int ten1/0/50
save
SW2
irf member 1 renumber 2
sysname SW2
save
reboot
int ten2/0/50
shutdown
qu
irf-port 2/2
port group interface ten 2/0/50
拔掉sw1与sw2之间的连接线
sw1
irf-port-configuration active
int ten 1/0/50
undo shutdown
save
sw2
irf-port-configuration active
int ten2/0/50
undo shutdown
save
插上SW1与SW2之间的连接线,此时因为sw2的优先级低于sw1,所以sw2会重启,选举sw1为管理交换机,也就是主交换机
查看

搭建完成