| 场景 | 堆叠链路故障兜底保护 |
|---|---|
| 适用 | 华为 MAD / H3C MAD;思科见差异说明 |
| 机制 | 跨设备专线检测,发现双主后让其中一侧进入 Recovery/禁用状态 |
华为 VRP
华为 VRP
! LACP MAD(经 Eth-Trunk 检测,推荐)
interface Eth-Trunk1
mode lacp-static
mad detect mode relay
display mad
display interface Eth-Trunk1思科 IOS
思科 IOS
! StackWise 无独立 MAD 概念:靠双栈线冗余与自动栈合并
show switch
! VSS/虚拟化场景才有 BFD 双主检测(dual-active detection)H3C Comware
H3C Comware
! BFD MAD(专用 VLAN + 三层接口检测)
vlan 100
interface Vlan-interface100
mad bfd enable
mad ip address 192.168.100.1 24 member 1
interface GigabitEthernet1/0/48
port link-type trunk
port trunk permit vlan 100
display mad verbose差异:思科 StackWise 依靠栈线冗余与合并机制,无华为/H3C 意义上的 MAD 配置;华为 LACP MAD 走业务聚合口,H3C BFD MAD 需单独准备检测 VLAN。分裂后一定要先查 MAD 状态再操作。