Connectivity Guide

Table Of Contents
Enter a BGP template with neighborhood name in ROUTER-BGP mode. Congure BFD sessions with all neighbors which inherit the
template in ROUTER-TEMPLATE mode. For more information on how to use BGP templates, see Peer templates. The global BFD
session parameters congured in Step 1 are used.
template template-name
bfd
no shutdown
4 Verify the BFD for BGP conguration in EXEC mode.
show bfd neighbors [detail]
BFD for BGP all-neighbors conguration
OS10(conf)# bfd interval 200 min_rx 200 multiplier 6 role active
OS10(conf)# bfd enable
OS10(conf)# router bgp 4
OS10(config-router-bgp-4)# bfd all-neighbors interval 200 min_rx 200 multiplier 6 role active
BFD for BGP single-neighbor conguration
OS10(conf)# bfd interval 200 min_rx 200 multiplier 6 role active
OS10(conf)# bfd enable
OS10(conf)# router bgp 1
OS10(config-router-bgp-1)# neighbor 150.150.1.1
OS10(config-router-neighbor)# bfd
OS10(config-router-neighbor)# no shutdown
BFD for BGP template conguration
OS10(config)# router bgp 300
OS10(config-router-bgp-300)# template ebgppg
OS10(config-router-template)# bfd
OS10(config-router-template)# exit
OS10(config-router-bgp-300)# neighbor 3.1.1.1
OS10(config-router-neighbor)# inherit template ebgppg
OS10(config-router-neighbor)# no shutdown
Display BFD operation
OS10# show bfd neighbors
* - Active session role
----------------------------------------------------------------------------
LocalAddr RemoteAddr Interface State Rx-int Tx-int Mult VRF Clients
----------------------------------------------------------------------------
* 150.150.1.2 150.150.1.1 vlan10 up 1000 1000 5 default bgp
OS10# show bfd neighbors detail
Session Discriminator: 1
Neighbor Discriminator: 2
Local Addr: 150.150.1.2
Local MAC Addr: 90:b1:1c:f4:ab:fd
Remote Addr: 150.150.1.1
Remote MAC Addr: 90:b1:1c:f4:a4:d4
Interface: vlan10
State: up
Configured parameters:
TX: 1000ms, RX: 1000ms, Multiplier: 5
Actual parameters:
TX: 1000ms, RX: 1000ms, Multiplier: 5
Neighbor parameters:
TX: 200ms, RX: 200ms, Multiplier: 49
Role: active
VRF: default
Client Registered: bgp
Uptime: 01:58:09
Statistics:
Number of packets received from neighbor: 7138
Number of packets sent to neighbor: 7138
306
Layer 3