1-25
Destination: 100.1.1.0/24
Protocol: RIP Process ID: 2
Preference: 100 Cost: 2
NextHop: 192.168.3.2 Interface: vlan-interface 300
BkNextHop: 0.0.0.0 BkInterface:
RelyNextHop: 0.0.0.0 Neighbor : 192.168.3.2
Tunnel ID: 0x0 Label: NULL
State: Active Adv Age: 00h18m40s
Tag: 0
Configuring BFD for BGP
Network requirements
z
Switch A and Switch B are interconnected through a Layer 2 switch. BFD is enabled on the
connected interfaces. BGP is enabled on the switches that are reachable to each other at the
network layer.
z
When the link between Switch A and Switch B fails, BFD can quickly detect the failure and notify
BGP of the failure.
Figure 1-8
Network diagram for BFD configuration on a BGP link
Configuration procedure
1) Configure VLAN interfaces.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] interface Vlan-interface 10
[SwitchA-Vlan-interface10]ip address 10.1.0.102 24
[SwitchA-Vlan-interface10] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] interface Vlan-interface 10
[SwitchB-Vlan-interface10] ip address 10.1.0.100 24
[SwitchB-Vlan-interface10] quit
2) Configure BGP basic functions.
# Configure Switch A.
[SwitchA] bgp 100