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.
The system view is displayed.
A P2MP tunnel template is created, and the P2MP tunnel template view is displayed.
Operation |
Description |
---|---|
Run 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. NOTE:
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. |
Run 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. |
Run 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. |
Run resv-style { se | ff } A resource reservation style is specified. |
- |
Run path metric-type { igp | te } A link metric type used to select links is specified. |
- |
Run 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. |
Run 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. |
Run tie-breaking { least-fill | most-fill | random } A rule for selecting a route among multiple routes to the same destination is specified. |
- |
Run 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. |
Run 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. |
Run 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. |
The configuration is committed.