Use mad bfd enable to enable BFD MAD.
Use undo mad bfd enable to disable BFD MAD.
Syntax
mad bfd enable
undo mad bfd enable
Default
BFD MAD is disabled.
Views
VLAN interface view
Predefined user roles
network-admin
Usage guidelines
BFD MAD uses the BFD protocol to detect multi-active collisions. This MAD mechanism can work with or without intermediate devices.
You can use BFD MAD with ARP MAD and ND MAD, but not with LACP MAD.
When you configure BFD MAD on a VLAN interface, follow these guidelines:
Category | Restrictions and guidelines |
---|
BFD MAD VLAN | Do not enable BFD MAD on VLAN-interface 1. If you are using an intermediate device, assign the ports of BFD MAD links to the BFD MAD VLAN on the device. The IRF fabrics in a network must use different BFD MAD VLANs.
|
BFD MAD VLAN and feature compatibility | Do not use the BFD MAD VLAN for any purposes other than configuring BFD MAD. Layer 2 or Layer 3 features, including ARP and LACP, cannot work on the BFD MAD-enabled VLAN interface or any ports in the VLAN. If you configure any other features on the VLAN, neither the configured feature nor the BFD MAD feature will work correctly. Disable the spanning tree feature on any ports in the BFD MAD VLAN. The MAD feature is mutually exclusive with the spanning tree feature. Do not bind a BFD MAD-enabled VLAN interface to any VPN instance. The MAD feature is mutually exclusive with VPN.
|
MAD IP address | To avoid problems, only use the mad ip address command to configure IP addresses on the BFD MAD-enabled VLAN interface. Do not configure an IP address by using the ip address command or configure a VRRP virtual address on the BFD MAD-enabled VLAN interface. All MAD IP addresses on the BFD MAD-enabled VLAN interface must be on the same subnet.
|
Examples
# Enable BFD MAD on VLAN-interface 3.
<Sysname> system-view
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad bfd enable