Netgear CSM4532 Software Administration Manual - Page 206

Bidirectional Forwarding Detection

Page 206 highlights

For configuration information, see the ip load-sharing command in the NETGEAR M4500 Series Switches CLI Command Reference Manual. 7.8. Bidirectional Forwarding Detection In a network device, Bidirectional Forwarding Detection (BFD) is presented as a service to its user applications, providing them options to create and destroy a session with a peer device and reporting upon the session status. On the M4500 series switches, OSPF and BGP can use BFD for monitoring of their neighbors' availability in the network and for fast detection of connection faults with them. BFD uses a simple 'hello' mechanism that is similar to the neighbor detection components of some wellknown protocols. It establishes an operational session between a pair of network devices to detect a twoway communication path between them and serves information regarding it to the user applications. The pair of devices transmits BFD packets between them periodically, and if one stops receiving peer packets within detection time limit it considers the bidirectional path to have failed. It then notifies the application protocol using its services. BFD allows each device to estimate how quickly it can send and receive BFD packets to agree with its neighbor upon how fast detection of failure could be done. BFD can operate between two devices on top of any underlying data protocol (network layer, link layer, tunnels, etc.) as payload of any encapsulating protocol appropriate for the transmission medium. The implementation works with IPv4 and IPv6 networks and supports IPv4/v6 address-based encapsulations. 7.8.1. Configuring BFD The following command sequence enables BFD and configures session parameters: 1. First, globally enable BFD: (Switch)#configure (Switch) (Config)# feature bfd 2. Configure session settings. These can be configured globally or on a per-interface basis. (Switch) (Config)#bfd interval 100 min_rx 200 multiplier 5 (Switch) (Config)#bfd slow-timer 1000 • The argument interval refers to the desired minimum transmit interval, the minimum interval that the user wants to use while transmitting BFD control packets (in ms). • The argument min_rx refers to the required minimum receive interval, the minimum interval at which the system can receive BFD control packets (in ms). • The argument multiplier specifies the number of BFD control packets to be missed in a row to declare a session down. • The slow-timer command sets up the BFD required echo receive interval preference value (in ms). This value determines the interval the asynchronous sessions use for BFD control packets when the echo NETGEAR M4500 Series Switches Software Administration Manual 206

  • 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
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251

NETGEAR M4500 Series Switches Software Administration Manual
206
For configuration information, see the
ip load-sharing
command in the
NETGEAR M4500 Series Switches CLI
Command Reference Manual
.
7.8.
Bidirectional Forwarding Detection
In a network device, Bidirectional Forwarding Detection (BFD) is presented as a service to its user
applications, providing them options to create and destroy a session with a peer device and reporting upon
the session status. On the M4500 series switches, OSPF and BGP can use BFD for monitoring of their
neighbors' availability in the network and for fast detection of connection faults with them.
BFD uses a simple 'hello' mechanism that is similar to the neighbor detection components of some well-
known protocols. It establishes an operational session between a pair of network devices to detect a two-
way communication path between them and serves information regarding it to the user applications. The
pair of devices transmits BFD packets between them periodically, and if one stops receiving peer packets
within detection time limit it considers the bidirectional path to have failed. It then notifies the application
protocol using its services.
BFD allows each device to estimate how quickly it can send and receive BFD packets to agree with its
neighbor upon how fast detection of failure could be done.
BFD can operate between two devices on top of any underlying data protocol (network layer, link layer,
tunnels, etc.) as payload of any encapsulating protocol appropriate for the transmission medium. The
implementation works with IPv4 and IPv6 networks and supports IPv4/v6 address-based encapsulations.
7.8.1.
Configuring BFD
The following command sequence enables BFD and configures session parameters:
1.
First, globally enable BFD:
(Switch)#configure
(Switch) (Config)# feature bfd
2.
Configure session settings. These can be configured globally or on a per-interface basis.
(Switch) (Config)#bfd interval 100 min_rx 200 multiplier 5
(Switch) (Config)#bfd slow-timer 1000
The argument
interval
refers to the desired minimum transmit interval, the minimum interval that
the user wants to use while transmitting BFD control packets (in ms).
The argument
min_rx
refers to the required minimum receive interval, the minimum interval at which
the system can receive BFD control packets (in ms).
The argument
multiplier
specifies the number of BFD control packets to be missed in a row to declare
a session down.
The
slow-timer
command sets up the BFD required echo receive interval preference value (in ms). This
value determines the interval the asynchronous sessions use for BFD control packets when the echo