Multicast PIM Auto RP and Mapping Agent single device

When implementing multicast, it is possible to configure a router to be both a mapping agent as well as a candidate RP. Simply configure both the ip pim send-rp-discovery command as well as the ip pim send-rp-announce command on the same device.

The best location for the PIM Auto RP and mapping agent is explained here:

Multicast Mapping Agent and RP placement

Links:

https://www.cisco.com/c/en/us/td/docs/routers/asr920/configuration/guide/ipmcast/16-12-1/b-ipmulti-xe-16-12-asr920/m_multicast_configuring_basics.html#GUID-4ABBEE03-CEA0-45AD-99DE-3CA70997945E

https://forum.networklessons.com/t/multicast-pim-auto-rp/1339/33?u=lagapides