The anycast-rp command configures an anycast-rendezvous point (Anycast-RP) and displays the IPv6 Anycast-RP view or displays an existing IPv6 Anycast-RP view.
The undo anycast-rp command deletes an Anycast-RP.
By default, no Anycast-RP is configured.
Usage Scenario
In a traditional Protocol Independent Multicast-Sparse Mode (PIM-SM) domain, all multicast groups map to one RP. When the network is overloaded or all traffic needs to be forwarded by only one RP, the RP may be overburdened. If the RP fails, routes are converged slowly or multicast packets are forwarded over non-optimal paths.
To resolve this issue, run the anycast-rp command to configure an Anycast-RP in the PIM-SM domain, enabling the network to automatically select a topologically closest RP for each source and receiver. This function releases burdens on RPs, implements RP backup, and optimizes the forwarding paths.Configuration Impact
If PIM Anycast-RP is configured, 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. In such a manner, Anycast-RP peers can learn source and group information from each other.
Precautions
<HUAWEI> system-view [~HUAWEI] ip vpn-instance abc [*HUAWEI-vpn-instance-abc] route-distinguisher 1003:1 [*HUAWEI-vpn-instance-abc] multicast ipv6 routing-enable [*HUAWEI-vpn-instance-abc] quit [*HUAWEI] pim-ipv6 vpn-instance abc [*HUAWEI-pim6-abc] anycast-rp 2001:db8:2::2 [*HUAWEI-pim6-abc-anycast-rp-2001:db8:2::2]