This section describes how to set BFD parameters on the ingress to monitor CR-LSPs using BFD sessions.
The system view is displayed.
BFD is configured to monitor the primary or backup LSP bound to a TE tunnel.
If the backup parameter is specified, the BFD session is bound to the backup CR-LSP.
The local discriminator of the BFD session is set.
The remote discriminator of the BFD session is set.
This command cannot be run for a one-arm-echo session.
The local discriminator of the local device and the remote discriminator of the remote device are the same, and the remote discriminator of the local device and the local discriminator of the remote device are the same. A discriminator inconsistency causes the BFD session to fail to be established.
The minimum interval at which BFD packets are sent is set.
This command cannot be run for a one-arm-echo session.
For example:
The local interval at which BFD packets are sent is set to 200 ms, the local interval at which BFD packets are received is set to 300 ms, and the local detection multiplier is set to 4.
The remote interval at which BFD packets are sent is set to 100 ms, the remote interval at which BFD packets are received is set to 600 ms, and the remote detection multiplier is set to 5.
Then,
Effective local interval at which BFD packets are sent = MAX { 200 ms, 600 ms } = 600 ms; effective local interval at which BFD packets are received = MAX { 100 ms, 300 ms } = 300 ms; effective local detection period = 300 ms x 5 = 1500 ms
Effective remote interval at which BFD packets are sent = MAX { 100 ms, 300 ms } = 300 ms; effective remote receiving interval = MAX { 200 ms, 600 ms } = 600 ms; effective remote detection period = 600 ms x 4 = 2400 ms
The local minimum interval at which BFD packets are received is configured.
For a one-arm-echo session, run the min-echo-rx-interval interval command to configure the minimum interval at which the local device receives BFD packets.
The local BFD detection multiplier is set.
The configuration is committed.