l2 binding e-tree leaf

Function

The l2 binding e-tree leaf command configures the leaf attribute for an AC interface.

The undo l2 binding e-tree leaf command restores the default attribute of an AC interface.

By default, the attribute of an AC interface is root.

Format

l2 binding e-tree leaf

undo l2 binding e-tree leaf

Parameters

None

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, VLANIF interface view, XGE sub-interface view, XGE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In a VPLS domain, AC interfaces bound to the same VSI can communicate with each other. To enhance data security and minimize mutual influences between users, controlling communication between these AC interfaces is required. VPLS E-Tree can meet this requirement by allowing you to configure the root or leaf attribute for AC interfaces. A root AC interface can communicate with leaf AC interfaces and other root AC interfaces, while a leaf AC interface can communicate only with root AC interfaces.

To specify the leaf attribute for an AC interface, run the l2 binding e-tree leaf command.

Prerequisites

The following commands have been configured:

  • The e-tree static command has been configured to enable the VPLS E-Tree function.
  • The l2 binding vsi vsi-name [ access-port ] command has been configured to bind an AC interface to a VSI.

Example

# Specify the AC interface of a VSI as a leaf.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls l2vpn
[*HUAWEI-l2vpn] vsi vsi1
[*HUAWEI-vsi-vsi1] e-tree static
[*HUAWEI-vsi-vsi1-etree] root-vlan 100 leaf-vlan 200
[*HUAWEI-vsi-vsi1-etree] quit
[*HUAWEI-vsi-vsi1] pwsignal ldp
[*HUAWEI-vsi-vsi1-ldp] vsi-id 1
[*HUAWEI-vsi-vsi1-ldp] peer 2.2.2.2
[*HUAWEI-vsi-vsi1-ldp] quit
[*HUAWEI-vsi-vsi1] quit
[*HUAWEI] interface Eth-Trunk 1.1
[*HUAWEI-Eth-Trunk1.1] vlan-type dot1q 1
[*HUAWEI-Eth-Trunk1.1] l2 binding vsi vsi1
[*HUAWEI-Eth-Trunk1.1] l2 binding e-tree leaf
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >