The es track bfd command associates an interface with a BFD session.
The undo es track bfd command cancels the association between an interface and a BFD session.
By default, an interface is not associated with a BFD session.
Usage Scenario
In a scenario where a CE is dual-homed to PEs, a BFD session is set up between the PEs. To enable BFD to track the dual-homing interfaces on the CE, run the es track bfd command. If one of the interfaces goes Down, the corresponding PE detects the fault using BFD, which triggers a rapid primary/backup DF switchover. This configuration allows DF switching to be associated with BFD, therefore facilitating a rapid switchover in case of a link failure.