es track evpn-peer (Bridge domain view)

Function

The es track evpn-peer command enables BGP EVPN peer status tracking.

The undo es track evpn-peer command disables BGP EVPN peer status tracking.

By default, BGP EVPN peer status tracking is disabled.

Format

es track evpn-peer peer-address

undo es track evpn-peer peer-address

Parameters

Parameter Description Value
peer-address

Specifies the source IP address of a BGP EVPN peer.

The value is in dotted decimal notation.

Views

Bridge domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

If a CE is multi-homed to several PEs, All-Active mode is configured only on some of the PEs, and one of the PEs fails, traffic loss may occur. To address this problem, run the es track evpn-peer command in the BD view that CE join in. After the command is run, if PE recovers, PE starts the delay timer for sending Ethernet segment routes. After the timer expires, PE starts the delay timer for receiving Ethernet segment routes. PE does not participate in DF election until the latter timer expires.

Configuration Impact

The DF election delay timer expires after the es track evpn-peer command is run.

Example

# Enable BGP EVPN peer status tracking on a device that participates in DF election.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance evrf1 bd-mode
[*HUAWEI-evpn-instance-evrf1] route-distinguisher 100:1
[*HUAWEI-evpn-instance-evrf1] vpn-target 1:1
[*HUAWEI-evpn-instance-evrf1] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] peer 1.1.1.1 as-number 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer 1.1.1.1 enable
[*HUAWEI-bgp-af-evpn] quit
[*HUAWEI-bgp] quit
[*HUAWEI] bridge-domain 10
[*HUAWEI-bd10] evpn binding vpn-instance evrf1
[*HUAWEI-bd10] es track evpn-peer 1.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >