esi (Interface view)

Function

The esi command configures an Ethernet Segment Identifier (ESI).

The undo esi command deletes an ESI.

By default, no ESI is configured.

Format

esi esi

undo esi esi

undo esi

Parameters

Parameter Description Value
esi

Specifies an ESI.

The value is in the format of xxxx.xxxx.xxxx.xxxx.xxxx, where x is a hexadecimal integer ranging from 0 to F. The value of esi must start with 00 but cannot be all 0s.

Views

Layer 2 100GE interface view, 100ge sub-interface view, 100GE interface view, Layer 2 10GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE-L2 view, 25GE sub-interface view, 25GE interface view, 400GE-L2 view, 400GE sub-interface view, 400GE interface view, Layer 2 40GE interface view, 40GE sub-interface view, 40GE interface view, Layer 2 50GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE sub-interface view, GE electrical interface view, PW-VE sub-interface view, PW-VE interface view, VE sub-interface view, VE interface view, Management interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

EVPN defines a unique ESI for connections between multiple PEs connecting to a CE. PEs' interfaces connecting to the same CE have the same ESI, and PEs' interfaces connecting to different CEs have different ESIs. PEs exchange routes that carry the ESI so that a PE can discover other PEs connecting to the same CE as itself.

Precautions

1.If an ESI is configured on the VE main interface, its sub-interfaces cannot be added to a BD. If the VE sub-interface is added to a BD, its main interface cannot be configured with an ESI.

2.If an ESI is configured on the VE main interface, the evpn redundancy-mode single-active df-election command cannot be run for this ESI instance. After the evpn redundancy-mode single-active df-election command is run, this ESI cannot be configured on the VE main interface.

Example

# Configure an ESI for a VE interface.
<HUAWEI> system-view
[~HUAWEI] interface virtual-ethernet 0/1/0
[*HUAWEI-Virtual-Ethernet0/1/0] ve-group 1 l2-terminate
[*HUAWEI-Virtual-Ethernet0/1/0] esi 0011.1001.1001.1001.1002
# Configure an ESI on GE 0/1/8.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/8
[~HUAWEI-GigabitEthernet0/1/8] esi 0011.1001.1001.1001.1002
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >