The esi dynamic command binds a dynamic ESI instance to an interface.
The undo esi dynamic command unbinds a dynamic ESI instance from an interface.
By default, a dynamic ESI instance is not bound to an interface.
Usage Scenario
In scenarios where different CEs are dual-homed to PEs, if you want a remote PE to send unicast traffic to different CEs in different modes (load balancing and non-load balancing), you can set a redundancy mode per ESI instance. Before performing this configuration, you need to confirm the ESI generation mode on the access side. If an ESI on the access side is automatically generated, you need to run the esi dynamic-name command in the global EVPN configuration view to configure a dynamic ESI instance, and then run the evpn redundancy-mode command in the dynamic ESI instance view to set a redundancy mode. To allow the configured redundancy mode to take effect, run the esi dynamic command to bind the dynamic ESI instance to an Eth-Trunk interface on the access side.
Prerequisites
A dynamic ESI instance has been created using the esi dynamic-name command in the global EVPN configuration view.
<HUAWEI> system-view [~HUAWEI] evpn [*HUAWEI-evpn] esi dynamic-name esi1 [*HUAWEI-evpn-esi-dynamic-esi1] evpn redundancy-mode all-active [*HUAWEI-evpn-esi-dynamic-esi1] quit [*HUAWEI-evpn] quit [*HUAWEI] interface Eth-Trunk 10 [*HUAWEI-Eth-Trunk10] esi dynamic esi1