The bfd track interface command configures BFD to monitor an upstream AC interface.
The undo bfd track interface command disables BFD from monitoring an upstream AC interface.
By default, BFD does not monitor upstream AC interfaces.
Usage Scenario
In dual-root protection scenarios in which P2MP TE tunnels are used to carry services, the root nodes send two copies of traffic over the primary and backup P2MP TE tunnels. If an upstream AC interface fails, the P2MP TE tunnels cannot detect the fault in time, causing packet loss. To prevent this problem, run the bfd track interface command on each root node to configure BFD to monitor the upstream AC interface. If an AC interface fails, BFD quickly detects the fault to trigger a traffic switching between the P2MP TE tunnels.
Prerequisites
Configuration Impact
After the undo bfd track interface command is run, BFD does not monitor upstream AC interfaces. If an upstream AC interface fails, user traffic is discarded. Exercise caution when running the undo bfd track interface command.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi-vsi1] bgp-ad [*HUAWEI-vsi-vsi1-bgpad] vpls-id 1:1 [*HUAWEI-vsi-vsi1-bgpad] vpn-target 1:1 import-extcommunity [*HUAWEI-vsi-vsi1-bgpad] vpn-target 1:1 export-extcommunity [*HUAWEI-vsi-vsi1-bgpad] quit [*HUAWEI-vsi-vsi1] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] l2 binding vsi vsi1 [*HUAWEI-GigabitEthernet0/1/0] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi-vsi1] inclusive-provider-tunnel [*HUAWEI-vvsi1-inclusive] root [*HUAWEI-vvsi1-inclusive-root] bfd track interface GigabitEthernet 0/1/0