cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1246
Views
3
Helpful
6
Replies

bfd not working

hi,

 

I am testing BFD protocol, configure it on interface but I do not see router generates or responds to other party BFD messages. Do I have to connect it to my routing protocol in order to start working? I wanted to test it first without configuring routing to use it.

 

br

3 Accepted Solutions

Accepted Solutions

Torbjørn
VIP
VIP

Yes, you need to configure a protocol to register to the BFD service. 

The simplest way to do this is probably to configure static routes with BFD:

 

! Configure BFD for the interface
interface {egress interface}
 bfd interval 500 min_rx 500 multiplier 5

! Create static route and register with BFD
ip route {destination} {destination mask} {next hop} {egress interface}
ip route static bfd {egress interface} {next hop}

 

 Once you have configured this on both ends you should be able to see the session as "up" when running "show bfd summary"

The docs aren't great, but you can read more about BFD here: https://www.cisco.com/c/en/us/td/docs/routers/ios/config/17-x/ip-routing/b-ip-routing/m_irb-bi-fwd-det-0.html  

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

View solution in original post

M02@rt37
VIP
VIP

hello @DraganSkundric87318 

yes you need to configure BDF attached with your routing protocol. Which routing protocol?

Check here please you use case:

https://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/fs_bfd.html

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

Hello,

 

BFD should be attached to something that will utilize it for it to register. It doesn't have to be a routing protocol specifically as other protocols can use it such as HSRP, Multicast (PIM), and DMVPN.

For further context you can reference this document and see teh section on Prerequisites:

https://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/fs_bfd.html#wp1027195

 

Prerequisites:

-Cisco Express Forwarding (CEF) and IP routing must be enabled on all participating routers.

-You must enable Cisco Parallel eXpress Forwarding (PXF) on the Cisco 10720 Internet router in order for BFD to operate properly. PXF is enabled by default and is generally not turned off.

-One of the IP routing protocols supported by BFD must be configured on the routers before BFD is deployed. You should implement fast convergence for the routing protocol that you are using.....

 

-David

View solution in original post

6 Replies 6

Torbjørn
VIP
VIP

Yes, you need to configure a protocol to register to the BFD service. 

The simplest way to do this is probably to configure static routes with BFD:

 

! Configure BFD for the interface
interface {egress interface}
 bfd interval 500 min_rx 500 multiplier 5

! Create static route and register with BFD
ip route {destination} {destination mask} {next hop} {egress interface}
ip route static bfd {egress interface} {next hop}

 

 Once you have configured this on both ends you should be able to see the session as "up" when running "show bfd summary"

The docs aren't great, but you can read more about BFD here: https://www.cisco.com/c/en/us/td/docs/routers/ios/config/17-x/ip-routing/b-ip-routing/m_irb-bi-fwd-det-0.html  

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

M02@rt37
VIP
VIP

hello @DraganSkundric87318 

yes you need to configure BDF attached with your routing protocol. Which routing protocol?

Check here please you use case:

https://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/fs_bfd.html

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Hello,

 

BFD should be attached to something that will utilize it for it to register. It doesn't have to be a routing protocol specifically as other protocols can use it such as HSRP, Multicast (PIM), and DMVPN.

For further context you can reference this document and see teh section on Prerequisites:

https://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/fs_bfd.html#wp1027195

 

Prerequisites:

-Cisco Express Forwarding (CEF) and IP routing must be enabled on all participating routers.

-You must enable Cisco Parallel eXpress Forwarding (PXF) on the Cisco 10720 Internet router in order for BFD to operate properly. PXF is enabled by default and is generally not turned off.

-One of the IP routing protocols supported by BFD must be configured on the routers before BFD is deployed. You should implement fast convergence for the routing protocol that you are using.....

 

-David

hi,

my bfd session is ok after connecting it to bgp, but ..

sh bfd drop shows me BFD Not Configured ipv4 drops an is increasing. Any ideas?

 

br

Make new post it better 

Thanks 

MHM

hi,

I've solved these drops. I have two eBgp peers, each is reachable on different interface. Firstly I implemented BFD only on one interface and for one peer. BFD works ok but I saw these drops. After i implemented BFD for second peer on second interface, drops are gone. Strange.