Configuring an ESI

An ESI must be configured on a PE interface 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 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.

Before configuring an ESI on an interface, ensure that:
  • The interface has been bound to an EVPN instance using the evpn binding vpn-instance command.

  • 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.

In a single-homing scenario, features such as fast convergence, split horizon, and df election required in an EVPN dual-homing scenario do not take effect. Therefore, configuring an ESI on a single-homing PE is optional.

The format of a dynamically generated ESI is xxxx.xxxx.xxxx.xxxx.xxxx.xxxx, where x is a hexadecimal number starting at 01 and consisting of the LACP system MAC address and LACP port key value. The remaining bits are padded with 0.

Procedure

  • Statically configure an ESI on an interface.
    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.

  • 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.

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