Multicast PIM Accept RP

PIM Accept RP is a security feature on Cisco IOS routers that prevents unwanted rendezvous points in the PIM sparse mode domain. By default, an RP will accept all multicast groups in the range (the entire class D range), but if we want, we can configure our router to allow only PIM join/prune messages toward the groups that we want.

Let me demonstrate this feature using a very simple topology:

R1 R2 Fastethernet Interfaces

Only two routers. R1 will be our rendezvous point. Let’s configure this network so that PIM sparse mode is enabled and R1 becomes the RP:

R1(config)#ip multicast-routing
R1(config)#ip pim rp-address
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip pim sparse-mode 
R2(config)#ip multicast-routing 
R2(config)#ip pim rp-address
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip pim sparse-mode 

This is how we enable multicast routing, configure R1 as the RP, and enable sparse mode. Let’s take a look at what multicast groups R1 will serve:

R1#show ip pim rp mapping 
PIM Group-to-RP Mappings

Group(s):, Static
    RP: (?)
R2#show ip pim rp mapping 
PIM Group-to-RP Mappings

Group(s):, Static
    RP: (?)

Both routers agree that R1 is the RP for the multicast group range Let’s change it so that it only accepts multicast group

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You’ve Ever Spent on Your Cisco Career!
  • Full Access to our 791 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

1630 Sign Ups in the last 30 days

100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!


Forum Replies

  1. Hi Rene,

    What is the different PIM accept RP and below configuration? The PIM accept RP applicable for static RP, Auto Rp and BSR?

    Ip PIM send-rp-annouce loopback 0 scope 10 group-list 1


  2. Hi Davis,

    PIM accept RP can be used to tell your router not to accept just any RP. I believe it works for AutoRP and BSR, not for static RPs. For example when there are 10 routers in your network advertising themselves as the RP then you can use this command to ignore a couple of them.

    ip pim send-rp-announce is used to configure your router to advertise itself as an RP, the access-list is used to advertise the networks that you want to be a RP for.


  3. Got it.

    Thanks Rene.


  4. Hi Rene,

    Is the address of the loopback of R1?



  5. Hi Hans, is the IP address of R1. I usually use subnets / IP addresses like this:

    192.168.XY.X where X = R1 and Y = R2.

    For loopbacks I use for R1, for R2 etc.


11 more replies! Ask a question or join the discussion by visiting our Community Forum