Configure BFD Basic Functions
Configuration Condition
Before configuring the BFD basic functions, first complete the following tasks:
- Configure the IP address of the interface, making the neighboring node network layer reachable
- Configure the upper-layer application associated with BFD
Configure Minimum Sending Interval of BFD Control Packets
Table 10–2 Configure the minimum sending interval of BFD control packets
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
-
|
Configure the minimum sending interval of BFD control packets
|
bfd min-transmit-interval value
|
Optional
By default, the minimum sending interval of BFD control packets is 1000ms.
|
-
The actual sending interval of the local BFD packets = MAX (minimum sending interval of the local BFD control packets, the minimum receiving interval of the peer BFD control packets)
- In the interface mode, configure the minimum sending interval of the BFD control packet to take effect only for the single-hop IP session.
Configure Minimum Receiving Interval of BFD Control Packets
Table 10–3 Configure the minimum receiving interval of the BFD control packet
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
-
|
Configure the minimum receiving interval of the BFD control packet
|
bfd min-receive-interval value
|
Optional
By default, the minimum receiving interval of the BFD control packets is 1000ms.
|
-
The actual sending interval of the peer BFD control packets = MAX (minimum sending interval of the peer BFD control packets, the minimum receiving interval of the local BFD control packets)
- In the interface mode, configure the minimum receiving interval of the BFD control packet to take effect only for the single-hop IP session.
Configure Detection Timeout Multiples of BFD Session
Table 10–4 Configure the detection timeout multiples of the BFD session
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
-
|
Configure the detection timeout multiples of the BFD session
|
bfd multiplier value
|
Optional
By default, the detection timeout multiples of the BFD session is 5.
|
-
To ensure the validity of the BFD session detection, be careful to configure the minimum of the BFD detection timeout multiples.
- Local BFD actual detection time = the detection timeout multiples of the peer BFD session × the actual sending interval of the peer BFD packet
- In the interface mode, configure the detection timeout multiples of the BFD control packet to take effect only for the single-hop IP session.
Configure Fast Detection Function of BFD Session
Table 10–5 Configure the fast detection function of the BFD session
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Configure the fast detection function of the BFD session
|
bfd fast-detect
|
Optional
By default, the fast detection function of the BFD session is disabled.
|