The leaf-list command enables a P2MP tunnel template to reference an existing leaf list.
The undo leaf-list command disables a P2MP tunnel template from referencing an existing leaf list.
By default, a P2MP tunnel template does not reference a leaf list.
Usage Scenario
To use a leaf list to manage leaf nodes on an automatic P2MP TE tunnel, run the leaf-list command in the P2MP tunnel template view to reference an existing leaf list. This enables P2MP TE to use the configured leaf node addresses in the list and explicit paths to automatically establish P2MP TE LSPs.
Prerequisites
Ensure that the following tasks have been performed:
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] mpls te p2mp-te [*HUAWEI-mpls] quit [*HUAWEI] mpls te leaf-list List1 [*HUAWEI-mpls-te-leaf-list-List1] destination 2.2.2.2 [*HUAWEI-mpls-te-leaf-list-List1] quit [*HUAWEI] mpls te p2mp-template Template1 [*HUAWEI-te-p2mp-template-Template1] leaf-list List1