Configuring an ESI

An ESI must be configured on a PE interface or a BD connected to a CE. The same ESI must be configured for PE interfaces connecting to the same CE.

Context

The PEs connecting to the same CE or BD must have the same ESI configured. After PEs exchange routes that carry ESIs, a PE can be aware of the other PEs connecting to the same CE, helping implement load balancing or FRR.

The interface is in the up state. Otherwise, Ethernet segment routes cannot be generated.

An ESI can be obtained for an interface in the following ways:
  • An ESI is statically set on the interface.

  • An ESI is dynamically generated on the interface.

Static configuration is recommended. Compared with dynamic ESI generation, static configuration allows EVPN to implement faster traffic switching during a DF election in a dual-homing scenario with active-active PEs.

The features required in an EVPN dual-homing scenario, such as fast convergence, split horizon, and DF election, all become invalid in a single-homing scenario. In such a scenario, configuring an ESI is optional on a single-homing PE.

Procedure

  • Configure an interface to dynamically generate an ESI.
    1. Run system-view

      The system view is displayed.

    2. Run interface eth-trunk trunk-id

      The Eth-Trunk interface view is displayed.

    3. Run mode lacp-static

      The working mode of the Eth-Trunk interface is set to static LACP.

    4. Run commit

      The configuration is committed.

  • Manually configure an ESI for an interface.

    Perform this configuration if a VLAN is used to access an EVPN.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run esi esi

      An ESI is set.

    4. Run commit

      The configuration is committed.

  • Manually configure an ESI in a BD.

    Perform this configuration if VXLAN is used to access an EVPN and the EVPN transmits ARP or MAC routes.

    1. Run system-view

      The system view is displayed.

    2. Run bridge-domain bd-id

      The BD view is displayed.

    3. Run esi esi

      An ESI is set.

    4. Run commit

      The configuration is committed.

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