BFD parameters on the ingress node include the local and remote discriminators, intervals for sending and receiving BFD packets, and local BFD detection multiplier. The BFD 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 of an LSP:
The system view is displayed.
This node is enabled with the global BFD function. The global BFD view is displayed.
By default, global BFD is disabled.
Return to the system view.
The BFD session is bound to a dynamic LSP.
When the IP address of the outbound interface of the detected LSP is lent or borrowed, an outbound interface must be specified.
When configuring static BFD for LDP LSP on a network deployed with LDP over TE, specify interface interface-type interface-number as the tunnel interface.
Run discriminator local discr-value
The local discriminator is configured.
Run discriminator remote discr-value
The remote discriminator is configured.
The local and remote identifiers on both ends of a BFD session must be consistent with each other; otherwise, the session cannot be established correctly. In addition, the local and remote identifiers cannot be modified after configuration.
The interval for sending BFD packets is set on the local device.
The interval for receiving BFD packets is set on the local device.
The local BFD detection multiplier is set.
The default value is 3.
The changes of BFD session status can be advertised to the application on the upper layer.
By default, a static BFD session cannot report faults of the monitored service module to the system.
The configuration is committed.