Configuring an RP
An RP can be manually configured (static RP) or dynamically elected through the Bootstrap Router (BSR) mechanism (Candidate RP or C-RP).
Prerequisites
You must be in the PIM configuration context, as indicated by the switch(config-pim)# prompt for IPv4 or the switch(config-pim6)# prompt for IPv6.
- A Rendezvous Point (RP) can provide services for multiple or all multicast groups. However, only one RP can forward multicast traffic for a multicast group at a time.
- For a large-scaled PIM network, configuring static RPs is a tedious job. Generally, static RPs are backups for dynamic RPs to enhance the robustness and operational manageability on a multicast network.
- When configuring a static RP, you must configure the same static RP on all routers in the PIM-SM domain.
- When you configure a Candidate RP (C-RP), reserve a relatively large bandwidth between the C-RP and other devices in the PIM-SM domain.
Procedure
- Configure a static RP using the following command.
- Configure a C-RP using the following command.
- Add or remove multicast groups for the C-RP, as needed, using the following command.
- Configure the hold-time a C-RP includes in its advertisements to the BSR using the following command.
- Set the priority for a C-RP using the following command.
rp-address <IP-ADDR> [<GRP-ADDR/GRP-MASK>] [override]
For example, the following command configures a static RP of 40.0.0.8 for the multicast group:
For IPv4 configurations:
For IPv6 configurations:
rp-candidate source-ip-interface <INTERFACE-NAME> [group-prefix <GRP-ADDR/GRP-MASK>]
For example, the following command configures a C-RP using loopback1 as the source for the C-RP router IP address and associates the multicast group with the C-RP router:
For IPv4 configurations:
For IPv6 configurations:
For a C-RP, you can configure various options as shown in the following steps. C-RP can be configured on an SVI or ROP interface also.
rp-candidate group-prefix <GRP-ADDR/GRP-MASK>
For example, the following commands configure a C-RP using VLAN 40 as the source for the C-RP router IP address and then adds the multicast group to the C-RP:
For IPv4 configurations:
For IPv6 configurations:
rp-candidate hold-time <TIME-VALUE>
For example, the following command sets the hold-time to 250 seconds:
For IPv4 configurations:
For IPv6 configurations:
rp-candidate priority <PRIORITY-VALUE>
For example, the following command sets the priority to 250:
For IPv4 configurations:
For IPv6 configurations: