vpws-df-election type service-id

Function

The vpws-df-election type service-id command enables service ID-based designated forwarder (DF) election for an EVPN VPWS.

The undo vpws-df-election type service-id command disables service ID-based DF election for an EVPN VPWS.

By default, service ID-based DF election is not enabled for an EVPN VPWS.

Format

vpws-df-election type service-id

undo vpws-df-election type service-id

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 an EVPN VPWS scenario where a CE is multi-homed to PEs in single-active mode and no E-Trunk is configured, a CE at the near end is multi-homed to PEs, and traffic from the remote end are sent to the PEs. To prevent the CE from receiving multiple copies of traffic from the PEs, one of the PEs must be elected to forward traffic to the CE.

To meet this requirement, run the vpws-df-election type service-id command to enable service ID-based DF election. This configuration allows PE-> CE traffic to be balanced along the multi-homed links based on service IDs.

Precautions

  • Configure the same DF election mode on all the multi-homed PEs.
  • By default, physical interface-based designated forwarder (DF) election for an EVPN VPWS without this command configuration.

Example

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