Configuring EVPN E-Tree

This section describes how to configure EVPN E-Tree. This function isolates traffic between different interfaces in the same broadcast domain.

Usage Scenario

As the number of services carried on an EVPN increases, the number of user MAC addresses managed by the EVPN is also increasing. The user MAC addresses are flooded on the network through EVPN routes. As a result, all interfaces in the same broadcast domain can communicate with each other at Layer 2. However, broadcast, unknown unicast, multicast (BUM), and unicast traffic cannot be isolated for users who do not need to communicate with each other. To isolate interfaces that do not need to communicate with each other in the same broadcast domain, you can deploy the EVPN E-Tree function on the network.

EVPN E-Tree implements the E-Tree model defined by the Metro Ethernet Forum (MEF) by setting the root or leaf attribute for AC interfaces. An AC interface with the leaf attribute is a leaf AC interface, and an AC interface with the root attribute is a root AC interface.
  • A leaf AC interface and a root AC interface can send traffic to each other. However, flows between leaf AC interfaces are isolated from each other.

  • A root AC interface can communicate with other root AC interfaces and with leaf AC interfaces.

Pre-configuration Tasks

Before configuring EVPN E-Tree, Configuring BD-EVPN Functions or Configuring Common EVPN Functions has been performed on the network.

Procedure

  • Configure EVPN E-Tree for a BD-EVPN.
    1. Run system-view

      The system view is displayed.

    2. Run evpn vpn-instance vpn-instance-name bd-mode

      The view of a BD-EVPN instance is displayed.

    3. Run etree enable

      EVPN E-Tree is enabled.

    4. Run quit

      Return to the system view.

    5. Run interface interface-type interface-number.subnum mode l2

      The view of a Layer 2 sub-interface that a BD will be associated with is displayed.

    6. Run bridge-domain bd-id

      The Layer 2 sub-interface is added to a bridge domain (BD).

    7. Run evpn e-tree-leaf

      The leaf attribute is configured for the Layer 2 sub-interface.

    8. Run commit

      The configuration is committed.

  • Configure EVPN E-Tree for a basic EVPN.
    1. Run system-view

      The system view is displayed.

    2. Run evpn vpn-instance vpn-instance-name

      The view of a EVPN instance is displayed.

    3. Run etree enable

      EVPN E-Tree is enabled.

    4. Run quit

      Return to the system view.

    5. Run interface interface-type interface-number

      The view of the interface to which a basic EVPN instance will be bound is displayed.

    6. Run evpn binding vpn-instance vpn-instance-name

      The interface is bound to the EVPN instance.

    7. Run evpn e-tree-leaf

      The leaf attribute is configured for the interface.

    8. Run commit

      The configuration is committed.

Verifying the EVPN E-Tree Configuration

Run the display bgp evpn all routing-table [ ad-route ad-route | mac-route mac-route ] command to check the leaf attribute carried in EVPN MAC routes.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >