A multicast routing protocol creates multicast routing entries based on the Reverse Path Forwarding (RPF) mechanism and then establishes an MDT.
The RPF check is a basis of multicast routing. The process of performing an RPF check is as follows:
Based on the source of a packet, a router searches its unicast routing table and multicast static routing table for optimal routes.
The router selects a route with the highest priority from the multiple optimal routes as an RPF route. If the inbound interface of the packet is the same as the RPF interface, the packet passes the RPF check; otherwise, the packet fails the RPF check.
If the priorities of the optimal routes are the same, the router selects the route in the sequence of the multicast static route and unicast route.
By configuring multicast static routes, you can specify an RPF interface and an RPF neighbor for the specific source of packets.
In choosing an upstream interface, a multicast router prefers the route with the highest next-hop address by default. If there are multiple equal-cost unicast routes, you can configure different policies of implementing multicast load splitting among these routes and designating different upstream interfaces for different multicast entries. In this manner, the transmission of multiple multicast data flows over a network is optimized.