(Optional) Adjusting BFD Parameters
Context
BFD parameters include the minimum intervals for sending and receiving BFD packets, and local BFD detection multiplier. The parameters affect BFD session setup.
You can adjust the local detection time according to the network situation. On an unstable link, if a small detection time is used, a BFD session may flap. You can increase the detection time of the BFD session.
Actual interval for the local device to send BFD packets = MAX {locally configured interval for sending BFD packets, remotely configured interval for receiving BFD packets}
Actual interval for the local device to receive BFD packets = MAX {remotely configured interval for sending BFD packets, locally configured interval for receiving BFD packets}
Local detection time = Actual interval for receiving BFD packets x Remotely configured BFD detection multiplier
Perform the following steps on the ingress node.
Procedure
- Run system-view
The system view is displayed.
- Run bfd
The BFD view is displayed.
- Run mpls ping interval interval
The interval for sending LSP ping packets is adjusted.
By default, the interval at which LSP ping packets are sent in a dynamic BFD session is 60 seconds.
- Run quit
Exit from the BFD view.
- Run mpls
The MPLS view is displayed.
- Run mpls bfd { min-tx-interval tx-interval | min-rx-interval rx-interval | detect-multiplier multiplier }*
BFD time parameters are set.