The leaf command specifies the device as a leaf node for a P2MP tunnel on a multicast VPLS network and displays the VSI-Inclusive-Leaf view.
The undo leaf command restores the default configuration.
By default, no device is specified as a leaf node on a multicast VPLS network.
Usage Scenario
On a multicast VPLS network, a P2MP tunnel can have multiple leaf nodes but only one root node. To specify a leaf node and enter the VSI-Inclusive-Leaf view so that you can configure the leaf node, run the leaf command.
Prerequisites
The VSI-Inclusive view has been created and has been displayed using the inclusive-provider-tunnel command.
Follow-up Procedure
Run the primary-root backup-root command to specify the primary and backup P2MP tunnels in dual-root protection scenarios in which P2MP tunnels are configured.
Precautions
Running the undo leaf command deletes a leaf node and all configurations of the leaf node. Exercise caution when running the undo leaf command.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi-vsi1] bgp-ad [*HUAWEI-vsi-vsi1-bgpad] vpls-id 1:1 [*HUAWEI-vsi-vsi1-bgpad] vpn-target 1:1 import-extcommunity [*HUAWEI-vsi-vsi1-bgpad] vpn-target 1:1 export-extcommunity [*HUAWEI-vsi-vsi1-bgpad] quit [*HUAWEI-vsi-vsi1] inclusive-provider-tunnel [*HUAWEI-vsi1-inclusive] leaf [*HUAWEI-vsi1-inclusive-leaf]