The local-address command sets a local address for an Anycast Rendezvous Point (RP).
The undo local-address command deletes the local address set for an Anycast RP.
By default, no local address is set for an Anycast RP.
Usage Scenario
If the Anycast RP is configured in a multicast domain, after an RP receives a Register message, it checks the source address in the Register message. If the Register message is sent by the source's designated router (DR), the RP forwards the Register message to Anycast RP peers. If the Register message is sent by an Anycast RP peer, it does not forward the Register message.
When forwarding a PIM Register message to other Anycast RP peers, the local RP needs to use its own IP address (called the local address) as the source address of the Register message and use the addresses of Anycast RP peers as the destination addresses of the Register message. In such a manner, Anycast RP peers can learn source/group information from each other. The local-address command is used to set a local address for an Anycast RP.Precautions
The local address must be different from the Anycast RP address.
Setting a Loopback interface address as the local address of the Anycast RP is recommended.