Configuring Micro-BFD for the Member Links of a LAG Interface

Micro-BFD can be enabled on each member link of a LAG interface so that link continuity for every LAG member link can be verified. The following task configures a static LAG, adds ports to the static LAG, configures a LAG virtual interface for the static LAG, and enables micro-BFD for each member link of the LAG interface.

To configure micro-BFD, all LAG member links must be directly connected between two session endpoints.

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the lag command, specifying a LAG, with the static and id keywords and specifying a LAG ID, to configure a static LAG.
    device(config)# lag red static id 55
  3. Enter the ports command with the ethernet and to keywords, specifying a range of Ethernet interfaces and specific Ethernet interfaces, to add ports to the LAG.
    device(config-lag-red)# ports ethernet 1/1/1 to 1/1/4 ethernet 1/1/5 ethernet 1/1/6
  4. Enter the exit command to return to global configuration mode.
    device(config-lag-red)# exit
  5. Enter the interface command with the lag keyword and specify an interface to configure a LAG virtual interface for the static LAG.
    device(config)# interface lag 55
  6. Enter the bfd per-link command to enable micro-BFD for each member link of the LAG interface.
    device(config-lag-if-lg55)# bfd per-link

The following example configures a static LAG, adds ports to the static LAG, configures a LAG virtual interface for the static LAG, and enables micro-BFD for each member link of the LAG interface.

device# configure terminal
device(config)# lag red static id 55
device(config-lag-red)# ports ethernet 1/1/1 to 1/1/4 ethernet 1/1/5 ethernet 1/1/6
device(config-lag-red)# exit
device(config)# interface lag 55
device(config-lag-if-lg55)# bfd per-link

For detailed configuration examples that include micro-BFD configurations, refer to BFD Configuration Examples.