1-12
Displaying and Maintaining BFD
To do…
Use the command…
Remarks
Display information about
BFD-enabled interfaces
display bfd interface
[
verbose
]
Available in any
view
Display information about enabled
BFD debugging
display bfd debugging-switches
Available in any
view
Display PAF configuration information
display bfd paf
Available in any
view
Display BFD session information
display bfd session
[
verbose
] [
slot
slot-number
[
all
|
verbose
] ]
Available in any
view
Clear BFD session statistics
reset bfd session statistics
[
slot
slot-number
]
Available in
user view
BFD Configuration Examples
Configuring BFD for OSPF
Network requirements
z
Switch A and Switch B are interconnected through a Layer 2 switch. BFD is enabled on the switch
interfaces. OSPF is enabled on the switches that are reachable to each other at the network layer.
z
When the link between Switch B and the Layer 2 switch fails, BFD can quickly detect the failure and
notify OSPF of the failure.
Figure 1-4
Network diagram for BFD configuration on an OSPF 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.