Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Silver

ip pim auto-rp listener

Can anyone explain me the purpose of this command.

regards

shivlu

12 REPLIES
Hall of Fame Super Blue

Re: ip pim auto-rp listener

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

Cisco Employee

Re: ip pim auto-rp listener

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

Silver

Re: ip pim auto-rp listener

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

Silver

Re: ip pim auto-rp listener

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

Hall of Fame Super Blue

Re: ip pim auto-rp listener

Shivlu

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

Jon

Re: ip pim auto-rp listener

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

Hall of Fame Super Bronze

Re: ip pim auto-rp listener

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.

Re: ip pim auto-rp listener

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

Hall of Fame Super Bronze

Re: ip pim auto-rp listener

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.

Re: ip pim auto-rp listener

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

Hall of Fame Super Bronze

Re: ip pim auto-rp listener

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 :)

Re: ip pim auto-rp listener

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

I have clarified my doubts, Thank you.

624
Views
5
Helpful
12
Replies
CreatePlease to create content