HP 6125XLG R2306-HP 6125XLG Blade Switch High Availability Configuration Guide - Page 94

Configuring BFD, Introduction to BFD, BFD session establishment, BFD session modes and operating modes

Page 94 highlights

Configuring BFD The term "interface" in this chapter refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can configure an Ethernet port as a Layer 3 interface by using the port link-mode route command (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. 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 may be overlapped. 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. 89

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144

89
Configuring BFD
The term "interface" in this chapter refers to Layer 3 interfaces, including VLAN interfaces and Layer 3
Ethernet interfaces. You can configure an Ethernet port as a Layer 3 interface by using the
port
link-mode
route
command (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. 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 may be overlapped.
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.