Configuring Rendezvous Point Statically
Every PIM multicast group needs to be associated with the IP address of a Rendezvous Point (RP), which is a router that resides in a multicast network domain. The address of the RP is used as the root of a group-specific distribution tree. All nodes in the domain that want to receive traffic sent to the group are aware of the address of the RP. For all senders to reach all receivers within a group, all routers in the domain must be able to map to the RP address configured for the group. There can be several RPs configured in a network deploying PIM-SM, each serving a different group.
You can statically configure a RP by specifying the RP address with in every router in the PIM domain. The use of statically configured RPs is ideal for small network environments or ones that do not require many RPs and/or require changing the assignment of the RPs often. Changing the assignment of an RP requires the re-configuration of the RP address in all of the routers in the PIM domain.
In static RP configurations, RP failover is not available.
When configuring the RP statically, do the following:
• On every router, include the ip pim rp-address A.B.C.D statement even if a router does not have any source or group member attached to it
• Assign only one RP address for a multicast group in the PIM domain
Using the topology depicted in
Figure 3-3,
Router_C is the RP, and all routers are statically configured with RP information. Host_1 and Host_2 join group 224.0.1.3 for all the sources. They send the IGMP membership report to Subnet 1. Two routers are attached to Subnet 1,
Router_E and
Router_F; both have default DR priority on
eth1. Since
Router_E has a higher IP address on interface
eth1, it becomes the Designated Router, and is responsible for sending Join messages to the RP (
Router_C).
Configure Static RP
#configure terminal | Enter configure mode. |
(config)#ip pim rp-address 10.10.1.5 | Statically configure an RP address for multicast groups. |
(config)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#ipv6 pim rp-address 1001::1 | Statically configure an RP address for multicast groups. |
(config)#commit | Commit the transaction |
Here is the sample configuration for Router_D:
hostname Router_D
!
interface eth0
!
interface eth1
ip pim sparse-mode
!
interface eth2
ip pim sparse-mode
!
interface lo
!
!
ip multicast-routing
ip pim rp-address 10.10.1.5
!
FOR IPV6
hostname Router_D
!
interface eth0
!
interface eth1
ipv6 pim sparse-mode
!
interface eth2
ipv6 pim sparse-mode
!
interface lo
!
!
Ipv6 multicast-routing
Ipv6 pim rp-address 1001::1
!
Validation
Enter the commands listed in this section to confirm the previous configurations.
RP Details
At Router_D, the show ip pim rp mapping command shows that 10.10.1.5 is the RP for all multicast groups 224.0.0.0/4, and is statically configured. All other routers will have a similar output:
R-D#show ip pim rp mapping
PIM Group-to-RP Mappings
Override RP cnt: 0
Group(s): 224.0.0.0/4, Static
RP: 10.10.1.5
Uptime: 00:19:31
R-D#
At Router_D, the show ipv6 pim rp mapping command shows that 1001::1 is the RP for all multicast groups ff00::8 and is statically configured. All other routers will have a similar output:
R-D#show ipv6 pim rp-mapping
PIM Group-to-RP Mappings
Override RP cnt: 0
Group(s): ff00::/8, Static
RP: 1001::1
Uptime: 01:21:47
Embedded RP Groups
Override RP cnt: 0At Router_D, use the show ip pim rp-hash command to display the selected RP for a specified group (224.0.1.3):
Router_D#show ip pim rp-hash 224.0.1.3
RP: 10.10.1.5
Override RP cnt: 0At Router_D, use the show ipv6 pim rp-hash command to display the selected RP for a specified group (ff02::1).
Router_D#show ipv6 pim rp-hash
RP: 1001::1
Interface Details
The show ip pim interface command displays the interface details for Router_E, and shows that Router_E is the Designated Router on Subnet 1.
Router_E#show ip pim interface
Address Interface VIFindex Ver/ Nbr DR DR
Mode Count Prior
192.168.1.10 eth1 0 v2/S 1 1 192.168.1.10
172.16.1.10 eth2 2 v2/S 1 1 172.16.1.10
FOR IPV6
#show ipv6 pim neighbor
Total number of PIM neighbors:2
Neighbor Address Interface Uptime/Expires DR
Pri/Mode
fe80::eac5:7aff:fea8:7cb9 eth1 01:29:52/00:01:18 1 /
fe80::eac5:7aff:feb1:6b13 eth2 01:29:49/00:01:28 1 /
IP Multicast Routing Table
Note: The multicast routing table displays for an RP router are different from other routers.
The show ip pim mroute command displays the IP multicast routing table. In this table, the following fields are defined:
R-E#show ip pim mroute
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
FCR Entries: 0
(*, 224.0.1.3)
RP: 10.10.1.5
RPF nbr: 172.16.1.2
RPF idx: eth2
Upstream State: JOINED
Local i...............................
Joined ................................
Asserted ................................
FCR:
The show ipv6 pim mroute command displays the IPv6 multicast routing table. In this table, the following fields are defined:
R-E#show ipv6 pim mroute
IPv6 Multicast Routing Table
(*,*,RP) Entries: 0
G/prefix Entries: 0
(*,G) Entries: 5
(S,G) Entries: 5
(S,G,rpt) Entries: 5
FCR Entries: 0
(*, ff1e::1)
RP: 1001::1
RPF nbr: ::
RPF idx: None
Upstream State: JOINED
Local ................................
Joined ..j.............................
Asserted ................................
FCR:
At Router_E, eth2 is the incoming interface of the (*, G) entry, and eth1 is on the outgoing interface list of the
(*, G) entry. This means that there is a group member through eth1, and the RP is reachable through eth2.
The 0 position on this 32-bit index is for eth1 (as illustrated in the interface display above). The j on the 0 index indicates that the Join has come from eth1.
Since Router_C is the RP, and the root of this multicast tree, the show ip pim mroute command on Router_C shows RPF nbr as 0.0.0.0 and RPF idx as none.
R-C#show ip pim mroute
IP Multicast Routing Table
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
FCR Entries: 0
(*, 224.0.1.3)
RP: 10.10.1.5
RPF nbr: 0.0.0.0
RPF idx: None
Upstream State: JOINED
Local ................................
Joined j...............................
Asserted ................................
FOR IPV6
#show ipv6 pim mroute
IPv6 Multicast Routing Table
(*,*,RP) Entries: 0
G/prefix Entries: 0
(*,G) Entries: 5
(S,G) Entries: 5
(S,G,rpt) Entries: 5
FCR Entries: 0
(*, ff1e::1)
RP: 1001::1
RPF nbr: ::
RPF idx: None
Upstream State: JOINED
Local ................................
Joined ..j.............................
Asserted ................................
FCR:
R-C#