华三交换机堆叠配置及心跳检测

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正常
原文地址:https://www.cnblogs.com/gray0/p/14463151.html