1.華三交換機堆疊配置
Sw1
①. 調整IRF優先級並關閉IRF物理接口
1 system-view 2 irf member 1 priority 32 3 interface range FortyGigE 1/0/49 to FortyGigE 1/0/50 4 shutdown 5 quit
②.創建IRF端口組並將物理接口加入到IRF端口中
1 irf-port 1/2 2 port group interface FortyGigE 1/0/49 3 port group interface FortyGigE 1/0/50 4 quit
③.激活物理接口和IRF端口配置
1 interface range FortyGigE 1/0/49 to FortyGigE 1/0/50 2 undo shutdown 3 quit 4 save 5 irf-port-configuration active
Sw2
①.更改設備端口名,保存配置並重啟
1 system-view 2 irf member 1 renumber 2 3 quit 4 save 5 reboot
②.啟動IRF模式並重啟設備
1 interface range FortyGigE 2/0/49 to FortyGigE 2/0/50 2 shutdown 3 quit
③.創建IRF端口組並將物理接口加入到IRF端口中
1 irf-port 2/1 2 port group interface FortyGigE 2/0/49 3 port group interface FortyGigE 2/0/50 4 quit
④.激活物理接口和IRF端口配置
1 interface range FortyGigE 2/0/49 to FortyGigE 2/0/50 2 undo shutdown 3 quit 4 save 5 irf-port-configuration active
驗證
display irf configuration
display irf link
2.華三交換機心跳檢測配置
1 interface Route-Aggregation64 2 description MAD 3 mad bfd enable 4 mad ip address 1.1.1.1 255.255.255.252 member 1 5 mad ip address 1.1.1.2 255.255.255.252 member 2 6 quit 7 interface Ten-GigabitEthernet1/0/48 8 port link-mode route 9 port link-aggregation group 64 10 quit 11 interface Ten-GigabitEthernet2/0/48 12 port link-mode route 13 port link-aggregation group 64 14 quit
驗證
display bfd session
1 display interface brief 2 #拔掉所有的堆疊線,主設備物理端口UP狀態正常;從設備物理端口DOWN正常