134
Figure 41 Assert mechanism
As shown in Figure 41, after Router A and Router B receive an (S, G) packet from the upstream node, they
both forward the packet to the local subnet. As a result, the downstream node Router C receives two
identical multicast packets, and both Router A and Router B, on their own downstream interface, receive
a duplicate packet forwarded by the other. After detecting this condition, both routers send an assert
message to all PIM routers (224.0.0.13) on the local subnet through the downstream interface on which
the packet was received. The assert message contains the multicast source address (S), the multicast
group address (G), and the preference and metric of the unicast route/MBGP route/static multicast route
to the source. By comparing these parameters, either Router A or Router B becomes the unique forwarder
of the subsequent (S, G) packets on the multi-access subnet. The comparison process is as follows:
1. The router with a higher preference to the source wins;
2. If both routers have the same preference to the source, the router with a smaller metric to the source
wins;
3. If a tie exists in route metric to the source, the router with a higher IP address of the downstream
interface wins.
PIM-SM overview
PIM-DM uses the flood-and-prune principle to build SPTs for multicast data distribution. Although an SPT
has the shortest path, it is built with a low efficiency. Therefore, the PIM-DM mode is not suitable for large-
and medium-sized networks.
PIM-SM is a type of sparse mode multicast protocol. It uses the pull mode for multicast forwarding and is
suitable for large-sized and medium-sized networks with sparsely and widely distributed multicast group
members.
The basic implementation of PIM-SM is as follows:
• PIM-SM assumes that no hosts need to receive multicast data. In the PIM-SM mode, routers must
specifically request a particular multicast stream before the data is forwarded to them. The core task
for PIM-SM to implement multicast forwarding will build and maintain rendezvous point trees (RPTs).