e-tree leaf

Function

The e-tree leaf command configures the leaf attribute for a PW.

The undo e-tree leaf command restores the default attribute for a PW.

By default, a PW has the root attribute.

Format

e-tree leaf

undo e-tree leaf

Parameters

None

Views

VSI-LDP-PW 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 configure the leaf attribute for a PW run the e-tree leaf command. Configuring this command is recommended if a PW peer device does not support E-Tree but has the leaf attribute.

Prerequisites

The following commands must have been configured:

  • The e-tree static command has been configured to enable the VPLS E-Tree function.
  • The root-vlan root-vlan leaf-vlan leaf-vlan command has been configured to specify a root VLAN and a leaf VLAN.
  • The e-tree mode compatible command has been configured to specify the compatible mode for the PW.

Example

# Configure VSI PWs as leaf PWs.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls l2vpn
[*HUAWEI-l2vpn] vsi company1
[*HUAWEI-vsi-company1] e-tree static
[*HUAWEI-vsi-company1-etree] root-vlan 100 leaf-vlan 200
[*HUAWEI-vsi-company1-etree] quit
[*HUAWEI-vsi-company1] pwsignal ldp
[*HUAWEI-vsi-company1-ldp] vsi-id 1
[*HUAWEI-vsi-company1-ldp] peer 2.2.2.2
[*HUAWEI-vsi-company1-ldp] peer 2.2.2.2 pw 2
[*HUAWEI-vsi-company1-ldp-pw-2] e-tree mode c
[*HUAWEI-vsi-company1-ldp-pw-2] e-tree mode compatible
[*HUAWEI-vsi-company1-ldp-pw-2] e-tree leaf
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >