Multicast PIM Sparse-Dense Mode

This topic is to discuss the following lesson:

Hi Rene.
Thank for great explain, How ever i still confuse. Can you explain what is RP mapping agent ? and why we need it ?
Thank
Sovandara

Hello Heng

In the first version of PIM-SM, all routers were required to be manually configured with the IP address of the RP. This does not scale well for a large complex network.

After this, Cisco implemented the Auto-RP feature which automates the distribution of group-to-RP mappings in a PIM network. To make Auto-RP work, there must be an RP mapping agent which receives the RP announcement messages from the RPs and arbitrates conflicts. The RP mapping agent then sends the consistent group to RP mappings to all other routers by dense mode flooding. This way, all routers automatically discover which RP to use for the groups they support.

I hope this has been helpful!

Laz

1 Like

I have a very basic topology of router on a stick so two VLANS (10 and 20) can communicate. What type of multicasting (SPARSE / DENSE) should I configure on my router (C2900 V15.2) to enable a server in one VLAN (VLAN 10) to send multicast traffic to devices in its own VLAN and devices in the other VLAN (VLAN 20) - that is connected via Router on a stick (sub – interfaces)

Hello Jason

If your topology only consists of a single router with two VLANs, then DENSE mode would be preferable. Arguably, this is the simplest mechanism as it doesn’t require an RP (since you only have one router). In such a case, dense mode forwards multicast traffic on all interfaces until we are requested to stop forwarding. For more info on dense mode, take a look at the following:

I hope this has been helpful!

Laz

Hello, is the ip pim autorp listener command only needed in one adj PIM router or Do I needed it everywhere in order to get the RP?

Hello Joshua

It depends on your topology. In the following lesson, near the end, you will see an example of the use of this command. In the specific topology a mapping agent is used, and it was only necessary to enable this command on a specific router in order to get the topology to function.


This command should only be enabled on routers that may be blocking traffic from the 224.0.1.39 and 224.0.1.40 addresses due to PIM sparse mode. I believe that the above lesson will further clarify this situation.

I hope this has been helpful!

Laz

Hello Lazaros,

I was wondering about use of the command ip pim autorp listener on a bigger topology. Is it needed everywhere or it is just needed on adj routers?

Hello Joshua

The command should be implemented on routers configured in sparse mode, for which you want the flooding of the Auto-RP groups. If you require this for your whole network, then yes, you would implement everywhere.

I hope this has been helpful!

Laz