The evpn e-tree-leaf command sets the leaf attribute for an interface.
The undo evpn e-tree-leaf command deletes the leaf attribute of an interface.
By default, the leaf attribute is not set for an interface.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE electrical interface view, Global-VE layer2 subinterface view, Global VE sub-interface view, PW-VE sub-interface view, VE layer2 subinterface view, VE sub-interface view, Layer 2 sub-interface view, Management interface view
Usage Scenario
In an EVPN E-Tree scenario, if a basic EVPN instance is configured, the EVPN instance is bound to an AC interface. If a BD-EVPN instance is configured, the BD-EVPN instance is bound to a BD, and then the BD is associated with a Layer 2 sub-interface. By default, the AC interface and Layer 2 sub-interface have the root attribute. To set the leaf attribute for the AC interface or Layer 2 sub-interface, run the etree enable and evpn e-tree-leaf commands. This configuration disables leaf AC interfaces from sending traffic to each other. Only a leaf AC interface and a root AC interface can send traffic to each other.
Prerequisites
EVPN E-Tree has been enabled in a BD-EVPN instance or a basic EVPN instance using the etree enable command.
For the basic EVPN instance, the instance has been bound to the target AC interface using the evpn binding vpn-instance command. For the BD-EVPN instance, the target Layer 2 sub-interface has been added to a BD using the bridge-domain command.<HUAWEI> system-view [~HUAWEI] evpn vpn-instance evrf1 [~HUAWEI-evpn-instance-evrf1] etree enable [*HUAWEI-evpn-instance-evrf1] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] evpn binding vpn-instance evrf1 [*HUAWEI-GigabitEthernet0/1/0] evpn e-tree-leaf