功能介绍
IRF链路故障会导致一个IRF变成多个新的IRF。这些IRF拥有相同的IP地址等三层配置,会引起地址冲突,导致故障在网络中扩大。为了提高系统的可用性,当IRF分裂时我们就需要一种机制,能够检测出网络中同时存在多个IRF,并进行相应的处理,尽量降低IRF分裂对业务的影响。
MAD(Multi-Active Detection,多Active检测)就是这样一种检测和处理机制。MAD主要提供分裂检测、冲突处理和故障恢复功能。
48口为MAD检测口
MAD检测配置命令
2层配置
vlan 4094
interface Vlan-interface4094
description TO_IRF_BFD
mad bfd enable
mad ip address 1.1.1.1 255.255.255.252 member 1
mad ip address 1.1.1.2 255.255.255.252 member 2
interface GigabitEthernet1/0/48
port link-mode bridge
description TO_IRF_BFD
port access vlan 4094
undo stp enable
interface GigabitEthernet2/0/48
port link-mode bridge
description TO_IRF_BFD_GE1/0/48
port access vlan 4094
undo stp enable
3层配置
interface Route-Aggregation48
interface GigabitEthernet1/0/48
port link-mode route
y
description TO_IRF_BFD
port link-aggregation group 48
interface GigabitEthernet2/0/48
port link-mode route
y
description TO_IRF_BFD
port link-aggregation group 48
interface Route-Aggregation48
description TO_IRF_BFD
mad bfd enable
mad ip address 1.1.1.1 255.255.255.252 member 1
mad ip address 1.1.1.2 255.255.255.252 member 2
dis mad verbose
查看mad配置状态是否正常,显示Normal为正常。