mad bfd enable

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

Management Ethernet interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

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. At the same time, BFD MAD handles collisions differently than ARP MAD and ND MAD.

When you configure BFD MAD that uses common Ethernet ports, 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, perform the following tasks on both the IRF fabric and the intermediate device:

    • Create a VLAN and VLAN interface for BFD MAD.

    • Assign the ports of BFD MAD links to the BFD MAD VLAN.

  • 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 purposes other than configuring BFD MAD.

  • Configure only the mad bfd enable and mad ip address commands on the BFD MAD-enabled VLAN interface. If you configure other features, both BFD MAD and other features on the interface might run incorrectly.

  • Disable the spanning tree feature on any Layer 2 Ethernet ports in the BFD MAD VLAN. The MAD feature is mutually exclusive with the spanning tree feature.

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.

  • Make sure all the MAD IP addresses are on the same subnet.

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 the management Ethernet ports on each member device to the common Ethernet ports on the intermediate device. To avoid BFD MAD failure caused by an active/standby MPU switchover, connect the management Ethernet port on each MPU to the intermediate device.

  • The management Ethernet ports on the LSU1SUPB0 (JG496A) and LSUM1SUPD0 (JH198A, JH206) MPUs do not support BFD MAD.

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