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
Management Ethernet interface view
VLAN interface view
Predefined user roles
network-admin
Usage guidelines
BFD MAD uses the BFD protocol to detect multi-active collisions.
Do not configure BFD MAD together with LACP MAD, because they handle collisions differently.
Do not configure BFD MAD together with ARP MAD or ND MAD. BFD MAD is mutually exclusive with the spanning tree feature, but ARP MAD and ND MAD require the spanning tree feature.
When you configure BFD MAD that uses common Ethernet ports, follow these restrictions and guidelines:
Category | Restrictions and guidelines |
---|
BFD MAD VLAN | Do not enable BFD MAD on VLAN-interface 1. If you are using an intermediate device, perform the following tasks on both the IRF fabric and the intermediate device: Make sure the IRF fabrics on the network use different BFD MAD VLANs. Make sure the BFD MAD VLAN contains only ports on the BFD MAD links. Exclude a port from the BFD MAD VLAN if the port is not on the BFD MAD link. For example, if you have assigned the port to all VLANs by using the port trunk permit vlan all command, use the undo port trunk permit command to exclude the port from the BFD MAD VLAN.
|
BFD MAD VLAN and feature compatibility | Do not use the BFD MAD VLAN for any purpose other than configuring BFD MAD. Configure only the mad bfd enable and mad ip address commands on the VLAN interface used for BFD MAD. If you configure other features, both BFD MAD and other features on the interface might run incorrectly. Disable the spanning tree feature on all Layer 2 Ethernet 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 a VPN instance. The MAD feature is mutually exclusive with VPN.
|
MAD IP address | |
When you configure BFD MAD that uses management Ethernet ports, follow these restrictions and guidelines:
Category | Restrictions and guidelines |
---|
Management Ethernet ports for BFD MAD | Connect a management Ethernet port on each member device to the common Ethernet ports on the intermediate device. |
BFD MAD VLAN | On the intermediate device, create a VLAN for BFD MAD and assign the ports used for BFD MAD to the VLAN. On the IRF fabric, you do not need to assign the management Ethernet ports to the VLAN. Make sure the IRF fabrics on the network use different BFD MAD VLANs. Make sure the BFD MAD VLAN on the intermediate device contains only ports on the BFD MAD links.
|
MAD IP address | Use the mad ip address command instead of the ip address command to configure MAD IP addresses on the BFD MAD-enabled management Ethernet ports. Make sure all the MAD IP addresses are 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