cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1474
Views
5
Helpful
12
Replies

ip pim auto-rp listener

shivlu jain
Level 5
Level 5

Can anyone explain me the purpose of this command.

regards

shivlu

12 Replies 12

Jon Marshall
Hall of Fame
Hall of Fame

Hi Shivlu

The "ip pim auto-rp listener" gets round a chicken and egg situation with pim sparse-mode.

The multicast addresses for Auto-RP are 224.0.1.39 & 224.0.1.40.

With pim sparse-mode a router uses the RP to group mappings it receives from the RP mapping agent to make requests to the RP to join a group when a locally connected host or a downstream router sends a request for this group.

But if the network is using pim sparse mode how do the 224.0.1.39 & 224.0.1.40 groups get to other routers from the RP mapping agent.

Put simply a router needs a list of the RP's before it can request a multicast stream from this RP but it doesn't know the RP's until it receives a multicast stream.

So ip pim auto-rp listener allows the RP mapping agent to flood the Auto-rp groups 224.0.1.39 & 224.0.1.40 out to all other routers. These groups are dense mode flooded even though the network is running in sparse-mode.

The alternative is to configure "ip pim sparse-dense mode" under the interface but this has an added consequence. Any group that is not mapped to an RP will be dense mode flooded throughout the network. With "ip pim auto-rp listener" only groups 224.0.1.39 & 224.0.1.40 can be dense mode flooded.

Hope that makes sense.

Jon

Jon, great explanagtion. Just to add to Jon's post, this command is configured when the routers are configured for sparse-mode and it needs to be enabled on every router including the RP itself.

-amit singh

thanks jon but still i am little bit confused about the command. Can we make the rp agent with the ip pim send-rp discovery

regards

shivlu

Hi Jon

Thanks dear now i got all the logic behind this.Once again thanks for your quick support. Already you solved my lot of problems regarding FWSM. Today i will rate you the best.

regards

shivlu

Shivlu

No problem, glad to be of help and thanks for the rating.

Jon

Mohamed Sobair
Level 7
Level 7

Hi amit,

Jon has explained the functionality of (IP pim auto-rp listner), I just want to add point 2 ur comment:

I dont believe it has to be configured on all routers but rather, it should be only configured on the RP and the Mapping agent, the RP use it to announce 224.0.1.39 in dense-mode to the Mapping Agent, then the Mapping Agent uses it to announce 224.0.1.40 to the rest of the routers part of the Group.

HTH

Mohamed

It's needed in all routers with ip pim sparse-mode, otherwise - they won't receive their group mapping information:

http://www.cisco.com/en/US/docs/ios/12_3/ipmulti/command/reference/ip3_i2g.html#wp1068637

HTH,

__

Edison.

Mohamed Sobair
Level 7
Level 7

Edison,

Pls check the definition based on your link u have provided:

ip pim autorp listener

To cause IP multicast traffic for the two Auto-RP groups 224.0.1.39 and 224.0.1.40 to be Protocol Independent Multicast (PIM) dense mode flooded across interfaces operating in PIM sparse mode, use the ip pim autorp listener command in global configuration mode. To disable this feature, use the no form of this command

HTH

Mohamed

Right, all PIM routers running in sparse-mode need those 2 groups in order to receive group advertisement.

Without those 2 groups, they won't know where to send the multicast traffic to the RP.

Mohamed Sobair
Level 7
Level 7

Edison,Amit

You are correct, I was missing this point.

But if the rest of the router configured with (Auto-rp) or static RP mapping ,then, they should be able to know the rp without this command.

Thanks for ur clarification,

HTH

Mohamed

You don't need this command if:

a) You have sparse-dense mode in the interface. Those groups will be received in dense mode.

b) You have static RP configured in the device. The device will know which RP to send the multicast traffic to.

c) You aren't running Auto-RP :)

Mohamed Sobair
Level 7
Level 7

I didnt mean (Auto-rp) but (ip pim sparse-dense) or static rp configured on non RPs.

I have clarified my doubts, Thank you.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card