With the PIM-SM election process, a backup RP automatically takes over if the active RP router becomes unavailable. However, you can explicitly select the RP, so that the device uses the selected RP for all group-to-RP mappings and overrides the set of candidate RPs supplied by the BSR.
device# configure terminal
device(config)# router pim
device(config-pim-router)# rp-address 4.4.4.4
device(config-pim-router)# rp-address 4.4.4.4 static-rp-list device(config)# ip prefix-list static-rp-list permit 225.1.1.0/24
The following commands configure the RP candidate.
device(config-pim-router)# rp-candidate interface loopback 11 device(config-pim-router)# rp-candidate prefix my-rp-cand-list device(config)# ip prefix-list my-rp-cand-list permit 226.1.1.0/24 device(config)# ip prefix-list my-rp-cand-list permit 228.1.1.0/24