华为堆叠配置

华为堆叠配置
交换机A:
stack enable
stack slot 0 renumber 1
stack slot 1 priority 200
stack reserved-vlan 4093
stack timer mac-address switch-delay 10

interface stack-port 1/1
port interface 40GE1/0/1 enable
port interface 40GE1/0/2 enable

interface stack-port 1/2

save

交换机B:
stack enable
stack slot 0 renumber 2
stack slot 2 priority 150
stack reserved-vlan 4093
stack timer mac-address switch-delay 10

interface stack-port 2/1

interface stack-port 2/2
port interface 40GE2/0/1 enable
port interface 40GE2/0/2 enable

save

交换机A B下电,用SFP+电缆交叉(1口连对方2口)互连后再A上电再B上电

拆分堆叠配置:
save 保存配置
copy source-filename destination-filename all 备份配置文件到所有成员交换机
reset stack configuration,清除堆叠的相关配置

重启堆叠成员交换机
reset slot 5

堆叠主备倒换
原来的备交换机升为主交换机。新主交换机重新指定备交换机。•原来的主交换机重启后重新加入堆叠系统,并被选举为从交换机。
slave switchover enable
slave switchover

替换堆叠成员交换机
1、收集display version和display device,确保新设备和被替换设备的软件版本一致
2、display stack、display stack configuration和display stack port查看替换前的堆叠状态,收集堆叠前被替换的配置文件
3、在新设备上导入配置文件,startup saved-configuration configuration-file,重启后刷上堆叠的配置display stack configuration。
4、确保被替换的交换机为非主,如果为主slave switchover enable 和slave switchover 执行主备倒换
4、下电新设备,按照disp stack channel all连线后上电

 

posted @ 2023-09-22 14:23  Me-lihu  阅读(229)  评论(0编辑  收藏  举报