O'Reilly logo

JUNOS Cookbook by Aviva Garrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

16.7. Configuring Multiple RPs in a PIM-SM Domain Anycast PIM

Problem

You want to configure multiple redundant RPs without the complexity of having to use MSDP.

Solution

Anycast PIM uses a mechanism similar to anycast RP but bypasses the need for MSDP. The configuration is similar to anycast RP. On each of the PIM-SM domain's RPs, configure the shared anycast address on the router's loopback interface:

	[edit interfaces]
	aviva@RouterA# set lo0 unit 0 family inet address 10.0.1.1/32

Set the router's regular loopback address as the primary address for the interface:

	[edit interfaces]
	aviva@RouterA# set lo0 unit 0 family inet address 192.168.13.1/32 primary

Then configure PIM. First, set the local RP to use the shared RP address:

	[edit protocols pim]
	aviva@RouterA# set rp local family inet address 10.0.1.1

Then, configure anycast PIM on the RP. First, configure the addresses of the other RPs in the PIM-SM domain:

	[edit protocols pim]
	aviva@RouterA# set rp local family inet anycast-pim rp-set 192.168.12.1

Second, configure the primary loopback address of the local router:

	[edit protocols pim]
	aviva@RouterA# set rp local family inet anycast-pim local-address 192.168.13.1

On the non-RP PIM routers, configure a static RP using the shared address:

	[edit protocols pim]
	aviva@RouterG# set rp static address 10.0.1.1

Discussion

Anycast RP provides the advantages of having redundant RPs, but the cost is that MSDP must run between all the anycast RP routers to synchronize the active source information. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required