A manual mLDP P2MP tunnel can be manually triggered and transmit multicast services, excluding multicast VPN services.
Context
Manually configure the root and leaf nodes to trigger the establishment of a manual mLDP P2MP tunnel.
Procedure
- Enable mLDP P2MP globally.
- Run system-view
The system view is displayed.
- Run mpls ldp
The MPLS-LDP view is displayed.
- Run mldp p2mp
mLDP P2MP is enabled globally.
- (Optional) Run mldp make-before-break
The mLDP make-before-break (MBB) capability is enabled.
If the optimal route between a non-root node and a root node on an mLDP P2MP network changes, the non-root node re-selects an upstream node and by default tears down the P2MP LSP. As a result, traffic is dropped before a new P2MP LSP is established. To prevent traffic loss, the make-before-break capability can be enabled on the mLDP network. If the optimal route to the root node changes, the non-root node establishes a new P2MP LSP before tearing down the original P2MP LSP, which minimizes traffic loss.
- Run commit
The configuration is committed.
- (Optional) Disable mLDP P2MP on an interface.
To flexibly control the path of a P2MP LSP, you can disable mLDP P2MP on a specified interface.
Disabling mLDP P2MP on an interface helps you plan a network. For example, if links balance traffic on a network, to enable P2MP traffic to travel along a specific link, disable mLDP P2MP on interfaces connected to other links.
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run mpls mldp p2mp disable
mLDP P2MP is disabled on the interface.
Disabling mLDP P2MP on an interface causes P2MP LSPs to fail to be established, while does not affect existing P2P LDP sessions.
- Run commit
The configuration is committed.
- Configure each leaf node to trigger LSP establishment.
After mLDP P2MP is enabled on all node, configure each leaf node to trigger mLDP P2MP LSP establishment.
- Run system-view
The system view is displayed.
- Run mpls ldp
The MPLS-LDP view is displayed.
- Run mldp p2mp-lsp name p2mp-lsp-name root-ip root-ip-address lsp-id lsp-id
The root node address and LSP ID are specified on the leaf node so that the leaf node can request the root node to establish an mLDP P2MP LSP.
The root-ip-address and lsp-id parameters uniquely identify an mLDP P2MP LSP.
- Run commit
The configuration is committed.
- (Optional) Configure an mLDP P2MP tunnel interface.
Before multicast traffic is directed to an mLDP P2MP LSP, the mLDP P2MP LSP must be bound to an mLDP P2MP tunnel interface so that the tunnel interface can be statically added to an Internet Group Management Protocol (IGMP) multicast group.
- Run system-view
The system view is displayed.
- Run mldp-p2mp-tunnel tunnel-name
An mLDP P2MP tunnel interface is created.
- Run root-ip root-ip-address lsp-id lsp-id
An mLDP P2MP LSP is bound to the tunnel interface.
- Run commit
The configuration is committed.
Follow-up Procedure
Statically add the tunnel interface to an IGMP multicast group before multicast traffic is directed to the mLDP P2MP LSP.