08-17-2021 03:53 AM
Hello,
I have a problem to enable BFD over BGP between two routers.
Here is the configuration on one of the routers (R1). The configuration is identical on R2 except the IP addresses !
interface Loopback0 ip address 192.168.100.1 255.255.255.255 ! interface Port-channel1 description *** ONLY FOR EIGRP *** no ip address no negotiation auto ! interface Port-channel1.42 description *** EIGRP TO R2 *** encapsulation dot1Q 42 ip address 10.0.0.1 255.255.255.252 no ip redirects no ip unreachables no ip proxy-arp bfd interval 750 min_rx 750 multiplier 3 ! router eigrp 1 bfd interface Port-channel1.42 network 192.168.100.1 0.0.0.0 network 10.0.0.0 0.0.0.3 passive-interface default no passive-interface Port-channel1.42 eigrp router-id 192.168.100.1 ! router bgp 1234 bgp router-id 192.168.100.1 bgp log-neighbor-changes neighbor 192.168.100.2 update-source Loopback0 neighbor 192.168.100.2 remote-as 1234 neighbor 192.168.100.2 fall-over bfd ! address-family ipv4 network 192.168.100.0 mask 255.255.255.0 neighbor 192.168.100.2 activate neighbor 192.168.100.2 next-hop-self neighbor 192.168.100.2 soft-reconfiguration inbound neighbor 192.168.100.2 route-map SET_LOCALPREF in exit-address-family !
BFD process :
R1#sh bfd neighbors IPv4 Sessions NeighAddr LD/RD RH/RS State Int 10.0.0.2 4097/4099 Up Up Po1.42 R1#sh ip bgp neighbors 192.168.100.2 BGP neighbor is 192.168.100.2, remote AS 1234, internal link Description: Fall over configured for session BFD is configured. BFD peer is Down. Using BFD to detect fast fallover (multi-hop).
Do you have any idea of "BFD is configured. BFD peer is Down" problem ?
Thank you
08-17-2021 04:08 AM
Hi,
I suggest you take a look at the following guide that explains BFD — BGP Multihop:
08-17-2021 05:02 AM
Thanks @pman
On ASR this command and bfd-map is OK !
fall-over bfd multi-hop check-control-plane-failure strict-mode
I wanted to try between the ASR and the 3750X it is not possible to use bfd-map...
08-17-2021 05:08 AM - edited 08-17-2021 05:09 AM
about the 3750X i found this one:
Restrictions for BFD include:
08-17-2021 05:49 AM
OK @pman !
A cable is directly connected between R1 and 3750X...
It seems to me that I am good ! BFD not work...
################# ASR R1 interface GigabitEthernet0/2/1 description *** TEST to 3750X Vlan5 *** ip address 10.0.0.6 255.255.255.252 no ip redirects no ip unreachables no ip proxy-arp negotiation auto bfd interval 600 min_rx 600 multiplier 3 ! ################# 3750X interface Vlan5 description *** TEST to R1 G0/2/1 *** ip address 10.0.0.5 255.255.255.252 no ip redirects no ip unreachables no ip proxy-arp no ip mroute-cache bfd interval 600 min_rx 600 multiplier 3 !
08-17-2021 07:01 AM
Hi,
please attache output of show bfd neighbors details, show bfd neighbors, and bgp config
Thanks,
08-17-2021 07:17 AM
R1#sh bfd neighbors details IPv4 Sessions NeighAddr LD/RD RH/RS State Int 10.0.0.5 4102/2 Up Up Gi0/2/1 Session state is UP and using echo function with 750 ms interval. Session Host: Software OurAddr: 10.0.0.6 Handle: 4 Local Diag: 0, Demand mode: 0, Poll bit: 0 MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 Received MinRxInt: 1000000, Received Multiplier: 3 Holddown (hits): 0(0), Hello (hits): 1000(604710) Rx Count: 603073, Rx Interval (ms) min/max/avg: 2/1012/881 last: 224 ms ago Tx Count: 604718, Tx Interval (ms) min/max/avg: 2/1005/879 last: 542 ms ago Elapsed time watermarks: 0 0 (last: 0) Registered protocols: EIGRP CEF Uptime: 6d03h Last packet: Version: 1 - Diagnostic: 0 State bit: Up - Demand bit: 0 Poll bit: 0 - Final bit: 0 C bit: 0 Multiplier: 3 - Length: 24 My Discr.: 2 - Your Discr.: 4102 Min tx interval: 1000000 - Min rx interval: 1000000 Min Echo interval: 600000 3750X#sh bfd neighbors details IPv4 Sessions NeighAddr LD/RD RH/RS State Int 10.0.0.6 1/4125 Up Up Vl5 Session state is UP and using echo function with 600 ms interval. Session Host: Software OurAddr: 10.0.0.5 Handle: 1 Local Diag: 0, Demand mode: 0, Poll bit: 0 MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 Received MinRxInt: 1000000, Received Multiplier: 3 Holddown (hits): 0(0), Hello (hits): 1000(26) Rx Count: 26, Rx Interval (ms) min/max/avg: 8/999/864 last: 705 ms ago Tx Count: 28, Tx Interval (ms) min/max/avg: 8/990/806 last: 537 ms ago Elapsed time watermarks: 0 0 (last: 0) Registered protocols: EIGRP CEF Uptime: 00:30:22 Last packet: Version: 1 - Diagnostic: 0 State bit: Up - Demand bit: 0 Poll bit: 0 - Final bit: 0 C bit: 0 Multiplier: 3 - Length: 24 My Discr.: 4125 - Your Discr.: 1 Min tx interval: 1000000 - Min rx interval: 1000000 Min Echo interval: 600000
The BGP setup is the same as my first post. I just add a new peer/ip...
I just add on R1:
bfd map ipv4 10.0.0.6/32 10.0.0.5/32 mh1
bfd-template multi-hop mh1
interval min-tx 50 min-rx 50 multiplier 3
!
neighbor 10.0.0.5 fall-over bfd multi-hop check-control-plane-failure
On 3750X : neighbor 10.0.0.6 fall-over bfd
08-18-2021 08:35 AM
No one has an idea ?
I have an alternative with BGP neighbor 10.0.0.5 timers 3 15
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide