df-election type vlan

Function

The df-election type vlan command enables VLAN-based designated forwarder (DF) election.

The undo df-election type vlan command disables VLAN-based DF election.

By default, VLAN-based DF election is not enabled.

Format

df-election type vlan

undo df-election type vlan

Parameters

None

Views

Global EVPN configuration view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In ESI all-active scenarios, a CE at the near end is multi-homed to PEs, and broadcast, unknown unicast, and multicast (BUM) packets from the remote end are sent to the PEs. To prevent the CE from receiving multiple copies of BUM traffic from the PEs, elect one of the PEs as a DF to forward the BUM traffic to the CE.

By default, interface-based DF election is enabled, which may cause traffic unbalance among multi-homing links. In this case, run the df-election type vlan command to enable VLAN-based DF election. This configuration allows PE-CE BUM traffic to be balanced among the multi-homing links based on VLANs.

Precautions

Configure the same DF election mode on all the multi-homed PEs on a VLAN.

Example

# Configure VLAN-based DF election.
<HUAWEI> system-view
[~HUAWEI] evpn
[*HUAWEI-evpn] df-election type vlan
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >