evpn redundancy-mode

Function

The evpn redundancy-mode command sets a redundancy mode for an ESI instance.

The undo evpn redundancy-mode command cancels the redundancy mode for an ESI instance.

By default, if the evpn redundancy-mode single-active command is run in the system view, the redundancy mode of an ESI instance is single-active; if the evpn redundancy-mode single-active command is not run, the redundancy mode of an ESI instance is all-active.

Format

evpn redundancy-mode { single-active | all-active }

undo evpn redundancy-mode { single-active | all-active }

Parameters

Parameter Description Value
single-active

Sets an ESI instance to be in single-active mode.

-

all-active

Sets an ESI instance to be in all-active mode.

-

Views

esi-dynamic view, esi-static view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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 and then create a dynamic or static ESI instance based on the ESI generation mode. Each dynamic or static ESI instance corresponds to a unique ESI on the access side. Therefore, you can run the evpn redundancy-mode { single-active | all-active } command in a dynamic or static ESI instance to set a redundancy mode for the corresponding ESI.

Precautions

  • If the evpn redundancy-mode single-active command is run on an ESI, the ESI cannot be configured in a BD where UMR is enabled.
  • If an ESI has been configured in a BD with UMR enabled, the ESI cannot be configured with evpn redundancy-mode single-active.

Example

# Set the redundancy mode of a dynamic ESI instance to all-active.
<HUAWEI> system-view
[~HUAWEI] evpn
[*HUAWEI-evpn] esi dynamic-name esi1
[*HUAWEI-evpn-esi-dynamic-esi1] evpn redundancy-mode all-active
# Set the redundancy mode of a static ESI instance to single-active.
<HUAWEI> system-view
[~HUAWEI] evpn
[*HUAWEI-evpn] esi 0011.1001.1001.1001.1002
[*HUAWEI-evpn-esi-0011.1001.1001.1001.1002] evpn redundancy-mode single-active
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >