After setting BFD parameters on the ingress, you can use BFD sessions to monitor a TE tunnel.
The system view is displayed.
Configure a BFD session to monitor a TE tunnel:
bfd session-name bind mpls-te interface interface-type interface-number [ one-arm-echo]
If the specified tunnel is down, no BFD session can be configured.
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.
Remote discriminators do not need to be set for one-arm sessions.
The local 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 set.
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 BFD detection multiplier is set.
The configuration is committed.