This section describes how to set BFD parameters on the egress to monitor CR-LSPs using BFD sessions.
The system view is displayed.
Configure a BFD session to monitor reverse channels.
For an LDP LSP, run bfd session-name bind ldp-lsp peer-ip ip-address nexthop ip-address [ interface interface-type interface-number ]
For a CR-LSP, run bfd session-name bind mpls-te interface tunnel interface-number te-lsp [ backup ]
For a TE tunnel, run bfd session-name bind mpls-te interface tunnel interface-number
The local discriminator of the BFD session is set.
The remote discriminator of the BFD session is set.
The local discriminator of the local device and the remote discriminator of the remote device are the same. 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 local minimum interval at which BFD packets are sent is configured.
If an IP link is used as a reverse tunnel, this parameter is inapplicable.
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 set.
The BFD detection multiplier is set.
The configuration is committed.