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 ?

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!


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!


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 and addresses due to PIM sparse mode. I believe that the above lesson will further clarify this situation.

I hope this has been helpful!


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!


Hi Rene/laz,

i see this lesson has both the ‘‘startup config’’ at the beginning and the solution config at the end. very good idea, because in previous lessons, i had to determine which was the startup and which was the solution config. i am in multicast now, i am not sure if its the same as from here onwards?


Hello Walter,

Nowadays, I usually add a “startup” config at the beginning when I show the topology and a “final” config at the end. When there is only one config, it’s the final config and at the bottom.

I add the startup configs so if you want to replicate this, you don’t have to worry about configuring basic requirements like IP addresses or routing. I will make a change though. For the startup configs I always added this line:

  • Want to take a look for yourself? Here you will find the startup configuration of each device.

And for the final configs:

  • Want to take a look for yourself? Here you will find the configuration of each device.

I’ll change the final config line to “Here you will find the final configuration of each device” so there is no doubt.

I hope this helps, if you see anything that is confusing, let us know and we’ll fix it!


1 Like

Thanks Rene, so far the only startup config i saw was in one of the multicast lessons, other than that the previous lessons in the ENCORE course only have final configurations, I have have to always work out and try to figure which is the startup and final when i copy and paste into my gns3 topology

for e.g in the Multicast PIM Auto RP course, there is only final configs included with a lot of other courses, i hope you understand what i mean or maybe there is something not right with my web pages not display the startup configs for each course in the beginning.

Hello Walter

The newer lessons that Rene creates will have both startup and final configs, and will be marked as such with the statement referring to “startup configuration” and “final configuration”. Some of the older lessons don’t have both startup and final, so for those you’ll have to work through what should be there in each case.

For the Multicast PIM Auto RP course, only the final configs are included, since it is one of the older lessons. However, over time these lessons may be updated as well. We’ll let you know.

Thanks for pointing it out!


1 Like