es track bfd

Function

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.

Format

es track bfd bfd-session-name

undo es track bfd

Parameters

Parameter Description Value
bfd-session-name

Specifies the name of a BFD session.

The value is a string of 1 to 64 characters, spaces not supported. When quotation marks are used around the string, spaces are allowed in the string.

Views

100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, PW-VE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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.

Example

# Associate an interface with a BFD session.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] bfd bfd1 bind peer-ip 2.2.2.2
[*HUAWEI-bfd-session-bfd1] quit
[*HUAWEI] interface Eth-Trunk 10
[*HUAWEI-Eth-Trunk10] es track bfd bfd1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >