bfd track interface

Function

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.

Format

bfd track interface { interface-name | interface-type interface-number }

undo bfd track interface { interface-name | interface-type interface-number }

Parameters

Parameter Description Value
interface-name

Specifies the name of an interface.

-

interface-type

Specifies the type of an interface.

-

interface-number

Specifies the number of an interface.

-

Views

VSI-inclusive-root view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

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

  • A root node has been configured, and the VSI-Inclusive-Root view is displayed using the root command.
  • P2MP TE tunnels have been established.

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.

Example

# Configure BFD to monitor upstream AC interface GE 0/1/0.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >