一、检查配置
1、检查设备型号和系统版本号
dis version
2、检查license是否一致
dis license
3、确认堆叠线带宽
4、确认使用的堆叠接口
5、确认脑裂检测使用的接口
6、备份设备配置
二、配置IRF
1、配置成员编号
设备A:
irf member 1
设备B:
irf member 2
2、配置成员优先级(1~32编号越高越优先)
设备A:
irf member 1 priority 32
设备B:
irf member 2 priority 16
3、关闭IRF接口组成员接口
interface f 2/0/25
shutdown
4、配置IRF接口组
3.1、链型连接(常见为IRF-Port 组内多接口)
设备A:
irf-port 1
port group interface f 2/0/19(不带成员号)
port group interface f 2/0/20
int f 2/0/19
undo shutdown
quit
int f 2/0/20
undo shutdown
quit
设备B:
irf-port 2
port group interface f 2/0/19(不带成员号)
port group interface f 2/0/20
quit
int f 2/0/19
undo shutdown
quit
int f 2/0/20
undo shutdown
quit
3.2、环形连接(常见为IRF-Port组内单接口)
设备A:
irf-port 1
port group interface f 2/0/25
irf-port 2
port group interface f 2/0/26
int f 2/0/25
undo shutdown
quit
int f 2/0/26
undo shutdown
quit
设备B:(默认不修改成员编号,重启后member才生效,如果member自动重启了需要带编号)
irf-port 1
port group interface f 2/0/25
irf-port 2
port group interface f 2/0/26
int f 2/0/25
undo shutdown
quit
int f 2/0/26
undo shutdown
quit
设备C:(默认不修改成员编号,重启后member才生效,如果member自动重启了需要带编号)
irf-port 1
port group interface f 2/0/25
irf-port 2
port group interface f 2/0/26
int f 2/0/25
undo shutdown
quit
int f 2/0/26
undo shutdown
quit
4、保存配置
save
5、切换设备模式为IRF 并重启设备
chassis convert mode irf
两次询问都回答Y (保存配置和自动转换启动文件)
6、连接IRF接口组
PS:irf-port1只能与irf-port2互联
7、检查IRF配置
dis irf
三、脑裂检测(核心设备)MAD-BFD
1、新建vlan
vlan 666
2、 将接口接入vlan组并关闭接口stp
int g1/2/0/18
port ac vlan 666
undo stp enable
3、配置MAD-BFD
int vlan666
description MAD-BFD
mad bfd enable
mad ip address 10.0.0.1 30 member 1
mad ip address 10.0.0.2 30 member 2
四、其他情况
1、备机系统版本不一致
1.1、开启主设备启动文件的自动加载(推荐)
system-view
irf auto-update enable
等待设备重启完毕,可能需要一段时间
2、手动升级系统版本
2、配置IRF优先级异常
请先开启IRF模式或者配置单机设备优先级
##开启IRF模式
chassis convert mode irf
##激活IRF配置 (常见于盒式交换机)
irf-port-configuration active
##配置单机优先级
irf priority ‘1~32’