28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

willing to be an RP send RP Announcement messages to group 224.0.1.39. The PIM<br />

routers that are acting as RP-mapping agents join this group and select a single RP<br />

for each group address range. The group range and RP together are called an RP<br />

mapping. The RP-mapping agents then advertise the RP mappings to group 224.0.1.<br />

40. All PIM routers join this group to discover the RP for each group.<br />

The final configuration step defines the auto-RP behavior for each PIM router. For<br />

auto-RP to work, at least one router in the PIM domain must announce its availability<br />

to serve as RP, and at least one router must map which multicast groups the RP<br />

wants to receive traffic from. This recipe configures a single router to perform both<br />

functions. The set rp local address 192.168.13.1 command establishes the local<br />

router as an RP candidate, and the set rp auto-rp mapping command configures the<br />

router to map RPs to multicast groups. All the remaining routers in this recipe are<br />

configured with the set rp auto-rp discovery command to discover the RP.<br />

Check to see which router is the RP. Start on RouterA, which is the only router that<br />

has announced its willingness to be RP:<br />

aviva@RouterA> show pim rps inet<br />

Instance: PIM.master<br />

Address family INET<br />

RP address Type Holdtime Timeout Active groups Group prefixes<br />

192.168.13.1 auto-rp 150 150 2 224.0.0.0/4<br />

192.168.13.1 static 0 None 2 224.0.0.0/4<br />

The output shows that this router is the RP both as a result of static configuration<br />

and of being elected by auto-RP. Check which RPs one of the other routers has<br />

learned about:<br />

aviva@RouterG> show pim rps inet<br />

Instance: PIM.master<br />

Address family INET<br />

RP address Type Holdtime Timeout Active groups Group prefixes<br />

192.168.13.1 auto-rp 150 150 2 224.0.0.0/4<br />

You see that RouterG has learned from auto-RP that RouterA (192.168.13.1) isthe<br />

RP.<br />

The net effect of this configuration in this recipe is that only one router in the<br />

domain, RouterA, is eligible to be the RP, so this router is still a single point of failure.<br />

To provide a backup RP candidate, configure another router to announce that it<br />

can be the RP:<br />

[edit protocols pim]<br />

aviva@RouterG# set rp local address 192.168.19.1<br />

aviva@RouterG# set rp auto-rp announce<br />

With this additional configuration, if RouterA goes down, RouterG automatically<br />

becomes RP. Checking on RouterG after the initial configuration, you see that<br />

RouterA is the elected RP:<br />

aviva@RouterG> show pim rps inet<br />

Instance: PIM.master<br />

Using Auto-RP to Dynamically Map RPs | 587<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!