300
Figure 96
Network diagram for BFD configuration on a BGP link
BFD
AS 100
L2 switch
Switch A
Switch B
Vlan-int10
10.1.0.102/24
Vlan-int10
10.1.0.100/24
Configuration procedure
1.
Configure VLAN interfaces.
a.
Configure Switch A.
<SwitchA> system-view
[SwitchA] vlan 10
[SwitchA-vlan10] port GigabitEthernet 3/0/1
[SwitchA-vlan10] interface vlan 10
[SwitchA-Vlan-interface10]ip address 10.1.0.102 24
b.
Configure Switch B.
<SwitchB> system-view
[SwitchB] vlan 10
[SwitchB-vlan10] port GigabitEthernet 3/0/2
[SwitchB-vlan10] interface vlan 10
[SwitchB-Vlan-interface10] ip address 10.1.0.100 24
2.
Configure BGP basic functions.
a.
Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 100
[SwitchA-bgp] peer 10.1.0.100 as-number 100
[SwitchA-bgp] peer 10.1.0.100 bfd
b.
Configure Switch B.
<SwitchB> system-view
[SwitchB] bgp 100
[SwitchB-bgp] peer 10.1.0.102 as-number 100
[SwitchB-bgp] peer 10.1.0.102 bfd
3.
Configure BFD parameters.
a.
Configure Switch A.