28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Also, make sure that the router’s regular loopback address is the primary address for<br />

the interface:<br />

[edit interfaces]<br />

aviva@RouterA# set lo0 unit 0 family inet address 192.168.13.1/32 primary<br />

When you configure the local RP address, use the shared address:<br />

[edit protocols pim]<br />

aviva@RouterA# set rp local address 10.0.1.1<br />

Then, create MSDP sessions to the other RPs in the domain:<br />

[edit protocols msdp]<br />

aviva@RouterA# set local-address 192.168.13.1<br />

aviva@RouterA# set peer 192.168.12.1<br />

When you are configuring all the other non-RP PIM routers, configure a static RP<br />

using the shared address:<br />

[edit protocols pim]<br />

aviva@RouterG# set rp static address 10.0.1.1<br />

<strong>Discussion</strong><br />

Anycast RP is probably the simplest and most redundant way to distribute RP-togroup<br />

mapping information among the PIM routers in a domain. Anycast lets you<br />

configure multiple routers to be RPs for the same group range, and traffic for all<br />

groups served by the RPs is load-balanced across the multiple RP routers. With other<br />

methods for setting up RPs, only a single RP is active at one time. If the active RP<br />

fails, the convergence time to elect another RP can be slow if you are using auto-RP<br />

or bootstrap, and it is even slower if you have to manually reconfigure the RP. Anycast<br />

RP significantly improves the convergence time over both auto-RP and bootstrap.<br />

Anycast RP uses a shared anycast address across all the RP routers in the PIM-SM<br />

domain. This recipe uses 10.0.1.1/32 as the shared anycast address. To start the configuration<br />

of the RP routers, assign the shared address to the router’s loopback<br />

address on each RP router. This address is not the primary lo0 address but is an<br />

additional address for lo0.<br />

To make sure that BGP and OSPF use the main lo0 address as the router ID, include<br />

the primary keyword with that address in addition to explicitly configuring the router<br />

ID with the set routing-options router-id command. In this recipe, the primary<br />

address is 192.168.13.1, and the following command adds the primary keyword:<br />

[edit interfaces]<br />

aviva@RouterA# set lo0 unit 0 family inet address 192.168.13.1/32 primary<br />

Check to make sure that both addresses are configured on the lo0 interface and that<br />

192.168.13.1 is marked as the primary address:<br />

[edit interfaces]<br />

aviva@RouterA# show lo0<br />

unit 0 {<br />

Configuring Multiple RPs in a PIM-SM Domain with Anycast RP | 593<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!