Configuration Example: BFD for iBGP Single-Hop Session
The following configuration example enables BFD for iBGP for Ethernet interface 1/1/1 on Router 1 globally. BFD session parameters are also configured.
Router1# configure terminal Router1(config)# interface ethernet 1/1/1 Router1(config-if-e40000-1/1/1)# ip address 10.0.0.0/24 Router1(config-if-e40000-1/1/1)# exit Router1(config)# router bgp Router1(config-bgp-router)# local-as 1 Router1(config-bgp-router)# bfd Router1(config-bgp-router)# bfd min-tx 290 min-rx 300 multiplier 3 Router1(config-bgp-router)# neighbor 10.1.1.1 remote-as 1
The following configuration example enables BFD for iBGP for a BGP peer on Router 1. BFD session parameters are also configured.
Router1# configure terminal Router1(config)# router bgp Router1(config-bgp-router)# local-as 1 Router1(config-bgp-router)# neighbor 10.1.1.1 remote-as 1 Router1(config-bgp-router)# neighbor 10.1.1.1 bfd Router1(config-bgp-router)# neighbor 10.1.1.1 bfd min-tx 300 min-rx 290 multiplier 3
The following configuration example enables BFD for a BGP peer group on Router 1. BFD session parameters are also configured.
Router1# configure terminal Router1(config)# router bgp Router1(config-bgp-router)# local-as 1 Router1(config-bgp-router)# neighbor pg1 peer-group Router1(config-bgp-router)# neighbor pg1 remote-as 1 Router1(config-bgp-router)# neighbor pg bfd Router1(config-bgp-router)# neighbor pg1 bfd min-tx 295 min-rx 300 multiplier 3 Router1(config-bgp-router)# neighbor 10.1.1.1 pg
The following configuration example enables BFD for iBGP for Ethernet interface 1/1/1 on Router 2 globally. BFD session parameters are also configured.
Router2# configure terminal Router2(config)# interface ethernet 1/1/1 Router2(config-if-e40000-1/1/1)# ip address 10.1.1.1/24 Router2(config-if-e40000-1/1/1)# exit Router2(config)# router bgp Router2(config-bgp-router)# local-as 1 Router2(config-bgp-router)# bfd Router2(config-bgp-router)# bfd min-tx 300 min-rx 295 multiplier 3 Router2(config-bgp-router)# neighbor 10.0.0.0 remote-as 1
The following configuration example enables BFD for iBGP for a BGP peer on Router 2. BFD session parameters are also configured.
Router2# configure terminal Router2(config)# router bgp Router2(config-bgp-router)# local-as 1 Router2(config-bgp-router)# neighbor 10.0.0.0 remote-as 1 Router2(config-bgp-router)# neighbor 10.0.0.0 bfd Router2(config-bgp-router)# neighbor 10.0.0.0 bfd min-tx 295 min-rx 300 multiplier 3
The following configuration example enables BFD for a BGP peer group on Router 2. BFD session parameters are also configured.
Router2# configure terminal Router2(config)# router bgp Router2(config-bgp-router)# local-as 1 Router2(config-bgp-router)# neighbor pg1 peer-group Router2(config-bgp-router)# neighbor pg1 remote-as 1 Router2(config-bgp-router)# neighbor pg1 bfd Router2(config-bgp-router)# neighbor pg1 bfd min-tx 300 min-rx 295 multiplier 3 Router2(config-bgp-router)# neighbor 10.0.0.0 pg1
