Users Guide

Configure PIM Anycast RP
To configure PIM Anycast RP, enable PIM-SM and IGP on the participating Loopback interfaces. Also, configure Loopback
interfaces with unique IP addresses on each of the RPs.
To configure static Anycast RP:
1. Enter CONFIGURATION mode.
OS10# configure terminal
OS10(config)#
2. Configure the rendezvous point (RP) IP address statically and specify the multicast group address range. The RP address
must be reachable across the PIM domain.
OS10(config)# ip pim rp-address 100.1.1.1 group-address 224.0.0.0/4
3. Configure PIM Anycast RP peer addresses for the specified Anycast-RP address.
OS10(config)# ip pim anycast-rp 100.1.1.1 192.10.1.1
OS10(config)# ip pim anycast-rp 100.1.1.1 192.10.2.2
OS10(config)# ip pim anycast-rp 100.1.1.1 192.10.3.3
4. Verify the configuration.
OS10# show ip pim rp mapping
Anycast-RP 100.1.1.1 members:
192.10.1.1* 192.10.2.2 192.10.3.3
PIM Group-to-RP Mappings
Group(s): 224.0.0.0/4, Static
RP: 100.1.1.1,v2
The asterisk (*) in the output denotes the local IP address.
Example configuration with PIM Bootstrap
The following example is a configuration of dynamic anycast RP address over a PIM bootstrap router. The RP shared address
100.1.1.1 is used in the multicast domain. IP addresses 192.10.1.1 and 192.10.2.2 are mapped to form the Anycast RP set.
OS10(config)# interface loopback1
OS10(conf-if-lo-1)# ip address 100.1.1.1/32
OS10(conf-if-lo-1)# ip ospf 10 area 0.0.0.0
OS10(config)#exit
OS10(config)# interface loopback2
OS10(conf-if-lo-1)# ip address 192.10.1.1/32
OS10(conf-if-lo-1)# ip ospf 10 area 0.0.0.0
OS10(config)#exit
OS10(config)# ip pim rp-candidate loopback1
OS10(config)# ip pim bsr-candidate loopback2
OS10(config)#ip pim anycast-rp 100.1.1.1 192.10.1.1
OS10(config)#ip pim anycast-rp 100.1.1.1 192.10.2.2
OS10(config)#exit
OS10# show ip pim rp mapping
Anycast-RP 1.1.1.1 members:
192.10.1.1* 192.10.2.2
Group(s) : 224.0.0.0/4
RP : 1.1.1.1, v2
Info source: 192.10.2.2, via bootstrap, priority 192
expires: 00:02:15
1082
Multicast