Latest

Introduction to Micro-BFD ( BFD over Port channel)

Introduction to Micro-BFD ( BFD over Port channel)

Micro BFD sessions are those that run on member links of the port channel. Micro BFD sessions are available for both LACP and non-LACP-based port channels. If BFD identifies a failure in the bidirectional channel connecting two forwarding engines, which includes interfaces and data links, the member link is deleted from the forwarding table.

This approach provides faster failure detection because BFD sessions are formed on individual port-channel interfaces. Users can configure BFD across the primary port-channel interface to monitor LAG bandwidth utilization via a mini BFD session for each member. 

Introduction to Micro-BFD ( BFD over Port channel)
Fig 1.1- Introduction to Micro-BFD ( BFD over Port channel)

If a member port goes down, it is deleted from the forwarding table, preventing traffic from blackholing on that member. Micro BFD only works when it is enabled for all port-channel members. The logical BFD session uses less aggressive timers than the BFD on LAG sessions, regardless of whether it is configured on the port-channel or port-channel sub interfaces.

With the micro BFD functionality enabled, the port channel manager considers the state of micro BFD sessions when determining the state of the port channel interface. Port channel implementation supports minimum links (lacp min-links) configuration to assure bandwidth availability by making a port channel usable or unusable based on whether the specified number of ports are available or not.

The detection of micro BFD happens only when Link Aggregation Control Protocol (LACP) in COLLECTIING_DISTRIBUTION is in active state. Maximum member port supported for LACP mode per port-channel varies from one platform to another.

Purpose of micro BFD sessions are:

  • Run a BFD session on each LAG member link.
  • Check for link continuity in each member link.
  • Allow BFD to control the LAG member link so that it is included in the LAG interface's L2 load-balancing table, whether LACP is present or not.

Configuration of BFD on Link Aggregation Group Bundle

Step 1: Configuring BFD Template

NDNA_R1(config)# bfd-template single-hop testing 
NDNA_R1(config-bfd)# interval min-tx 50 min-rx 50 multiplier 3 
NDNA_R1(config-bfd)# end

Step 2: Applying Template to Port-Channel Interface

NDNA_R1(config)#interface port-channel 1
NDNA_R1(config-if)#port-channel bfd destination ipv4 10.10.10.1 testing 
NDNA_R1(config-if)#ip address 10.10.10.3 255.255.255.0 
NDNA_R1(config-if)#no shutdown 
NDNA_R1(config-if)#end

Step 3: Adding Member Ports to Port-Channel Group
Perform the following steps to add member ports to port-channel group:

NDNA_R1(config)#interface Gi0/0/1
NDNA_R1(config-if)#channel-group 1 mode active 
NDNA_R1(config-if)#no shutdown 
NDNA_R1(config-if)#end

Continue Reading...
Cisco SDWAN