No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


NE40E V800R010C00 Configuration Guide - MPLS 01

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a P2MP Tunnel Template

Configuring a P2MP Tunnel Template

Attributes can be set in a P2MP tunnel template that is used to automatically establish P2MP TE tunnels.


Attributes of an automatic P2MP TE tunnel can only be defined in a P2MP tunnel template, but cannot be configured on a tunnel interface because the automatic P2MP TE tunnel has no tunnel interface. When NG MVPN or multicast VPLS is deployed on a network, nodes that transmit multicast traffic can reference the template and use attributes defined in the template to automatically establish P2MP TE tunnels.


  1. Run:


    The system view is displayed.

  2. Run:

    mpls te p2mp-template template-name

    A P2MP tunnel template is created, and the P2MP tunnel template view is displayed.

  3. Select one or multiple operations.

    Table 3-6  Operations




    leaf-list leaf-list-name

    A leaf list is configured.

    When multicast services arrive at a node, the node automatically selects leaf nodes and establishes a sub-LSP destined for each leaf node.

    This step enables a node that multicast services access to select leaf nodes in a specified leaf list.


    Before running the leaf-list command, the task described in configuring a leaf list must be complete. The leaf-list-name value in this step must specify an existing leaf list.


    bandwidth ct0 bw-value

    The CT0 bandwidth is set for the automatic P2MP TE tunnel.

    Before bandwidth protection is provided for traffic transmitted along an automatic P2MP TE tunnel, run the bandwidth command to set the CT0 bandwidth for the tunnel. Nodes on the P2MP TE tunnel can then reserve bandwidth for services, which implements bandwidth protection.


    record-route [ label ]

    The route and label record function is enabled.

    This step enables nodes along an automatic P2MP TE tunnel to use RSVP messages to record detailed P2MP TE tunnel information, including the IP address of each hop. The label parameter in the record-route command enables RSVP messages to record label values.


    resv-style { se | ff }

    A resource reservation style is specified.



    path metric-type { igp | te }

    A link metric type used to select links is specified.



    affinity property properties [ mask mask-value ] or affinity primary { include-all | include-any | exclude } bit-name &<1-32>

    An affinity and its mask are specified.

    An affinity is a 32-bit vector value used to describe an MPLS link. An affinity and an administrative group attribute define the nodes through which an MPLS TE tunnel passes. Affinity masks determine the link properties that a device must check. If some bits in the mask are 1, at least one bit in an administrative group is 1, and the corresponding bit in the affinity must be 1. If the bits in the affinity are 0s, the corresponding bits in the administrative group cannot be 1.

    You can use an affinity to control the nodes through which an automatic P2MP TE tunnel passes.


    hop-limit hop-limit-value

    The hop limit is set.

    The hop-limit command sets the maximum number of hops that each sub-LSP in an automatic P2MP TE tunnel supports.


    tie-breaking { least-fill | most-fill | random }

    A rule for selecting a route among multiple routes to the same destination is specified.



    priority setup-priority [ hold-priority ]

    The setup and holding priorities are set.

    The setup priority of a tunnel must be no higher than its holding priority. A setup priority value must be greater than or equal to a holding priority value.

    If resources are insufficient, setting the setup and holding priority values allows LSPs with lower priorities to release resources for establishing LSPs with higher priorities.


    reoptimization [ frequency interval ]

    Periodic re-optimization is enabled for an automatic P2MP TE tunnel.

    Periodic re-optimization allows a P2MP TE tunnel to be automatically reestablished over a better path. After a better path to the same destination has been calculated for a certain reason, such as a cost change, a TE tunnel will be automatically reestablished, optimizing resources on a network.


    lsp-tp outbound

    Traffic policing is enabled for an automatic P2MP TE tunnel.

    Physical links over which a P2MP TE tunnel is established transmit traffic of other TE tunnels, traffic of non-CR LSP traffic, or even IP traffic, in addition to TE tunnel traffic. To limit TE traffic within a configured bandwidth range, run the lsp-tp outbound command.

  4. Run:


    The configuration is committed.

Updated: 2018-07-12

Document ID: EDOC1100028530

Views: 101649

Downloads: 336

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next