Configuring bfd, Introduction to bfd, Bfd session establishment – H3C Technologies H3C S12500-X Series Switches User Manual
Page 73: Bfd session modes and operating modes
65
Configuring BFD
The term "interface" in BFD collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer
3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using port link-mode route
(see Layer 2—LAN Switching Configuration Guide).
Introduction to BFD
Bidirectional forwarding detection (BFD) provides a general-purpose, standard, medium- and
protocol-independent fast failure detection mechanism. It can detect and monitor the connectivity of links
in IP to detect communication failures quickly so that measures can be taken to ensure service continuity
and enhance network availability.
BFD can uniformly and quickly detect the failures of the bidirectional forwarding paths between two
devices for upper-layer protocols such as routing protocols and MPLS. The hello mechanism used by
upper layer protocols needs seconds to detect a link failure, while BFD can provide detection measured
in milliseconds.
BFD can be used for single-hop and multi-hop detections:
•
Single-hop detection—Detects the IP connectivity between two directly connected systems.
•
Multi-hop detection—Detects any of the paths between two systems. These paths have multiple
hops, and might overlap.
BFD session establishment
BFD provides no neighbor discovery mechanism. Protocols that BFD services notify BFD of routers to
which it needs to establish sessions.
BFD sessions are established as follows:
1.
A protocol sends Hello messages to discover neighbors and establish neighborships.
2.
After establishing neighborships, the protocol notifies BFD of the neighbor information, including
destination and source addresses.
3.
BFD uses the information to establish BFD sessions.
When BFD detects a link failure:
1.
BFD clears the neighbor session.
2.
BFD notifies the protocol of the failure.
3.
The protocol terminates the neighborship on the link.
4.
If a backup link is available, the protocol will use it for communication.
BFD session modes and operating modes
BFD sessions use the following types of packets:
•
Echo packets—Encapsulated into UDP packets with port number 3785.
- H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C S6300 Series Switches H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches