Configuring an ESI

The same Ethernet segment identifier (ESI) must be configured for provider edge (PE) interfaces connecting to the same customer edge (CE).

Context

PEs connecting to the same CE must have the same ESI configured. PEs exchange routes that carry ESIs, so that a PE can discover other PEs connecting to the same CE as itself. This helps implement load balancing or FRR.

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

  • The interface is in the Up state. Otherwise, Ethernet segment routes cannot be generated. In scenarios where a CE is dual-homed to two PEs over an Eth-Trunk, an E-Trunk must be configured to ensure that the two CE interfaces connecting to PEs are both Up.

An ESI can be either statically configured or dynamically generated on an interface.

Functions, such as rapid convergence, split horizon, and DF election that are required in the EVPN dual-homing scenario fail to take effect in a single homing scenario. In such a scenario, configuring the ESI is optional on a dual-homing PE.

Procedure

  • (Optional) Configure an E-Trunk.
    1. Run system-view

      The system view is displayed.

    2. Run e-trunk e-trunk-id

      An E-Trunk is configured, and its view is displayed.

    3. Run priority priority

      The E-Trunk priority is configured.

    4. Run peer-address peer-ip-address source-address source-ip-address

      IP addresses are configured for the local and peer ends of the E-Trunk.

    5. Run quit

      Return to the system view.

    6. Run interface eth-trunk trunk-id

      The Eth-Trunk interface view is displayed.

    7. Run e-trunk e-trunk-id

      The Eth-Trunk interface is added to the E-Trunk.

      One Eth-Trunk interface can be added only to one E-Trunk.

    8. Run quit

      Return to the system view.

    9. Run lacp e-trunk system-id mac-address

      An E-Trunk Link Aggregation Control Protocol (LACP) system ID is configured.

      The LACP system IDs for the same E-Trunk must be the same.

    10. Run lacp e-trunk priority priority

      An E-Trunk LACP system priority is configured.

      The LACP system priorities for the same E-Trunk must be the same.

    11. Run commit

      The configuration is committed.

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

    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 configured as static LACP.

    4. Run commit

      The configuration is committed.

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