建议MAD BFD
https://www.h3c.com/cn/d_201907/1218451_30005_0.htm
配置BFD MAD
# 创建VLAN 3,并将端口GigabitEthernet1/0/1、GigabitEthernet2/0/1、GigabitEthernet3/0/1和GigabitEthernet4/0/1加入VLAN 3中。
[Sysname] vlan 3
[Sysname-vlan3] port gigabitethernet 1/0/1 gigabitethernet 2/0/1 gigabitethernet 3/0/1 gigabitethernet 4/0/1
[Sysname-vlan3] quit
# 创建VLAN接口3,并配置MAD IP地址。
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad bfd enable
[Sysname-Vlan-interface3] mad ip address 192.168.2.1 24 member 1
[Sysname-Vlan-interface3] mad ip address 192.168.2.2 24 member 2
[Sysname-Vlan-interface3] mad ip address 192.168.2.3 24 member 3
[Sysname-Vlan-interface3] mad ip address 192.168.2.4 24 member 4
[Sysname-Vlan-interface3] quit
# 因为BFD MAD和生成树功能互斥,所以在GigabitEthernet1/0/1、GigabitEthernet2/0/1、GigabitEthernet3/0/1和GigabitEthernet4/0/1端口上关闭生成树协议。
[Sysname] interface gigabitethernet 1/0/1
[Sysname-gigabitethernet-1/0/1] undo stp enable
[Sysname-gigabitethernet-1/0/1] quit
[Sysname] interface gigabitethernet 2/0/1
[Sysname-gigabitethernet-2/0/1] undo stp enable
[Sysname-gigabitethernet-2/0/1] quit
[Sysname] interface gigabitethernet 3/0/1
[Sysname-gigabitethernet-3/0/1] undo stp enable
[Sysname-gigabitethernet-3/0/1] quit
[Sysname] interface gigabitethernet 4/0/1
[Sysname-gigabitethernet-4/0/1] undo stp enable
暂无评论