To use the Anycast RP feature, configure multiple RPs with the same address in a PIM-SM domain. Before configuring Anycast RP in the PIM-SM domain, configure a loopback interface on each switch and assign the same IP address to the loopback interfaces. Then configure these interfaces as static RPs or candidate rendezvous points (C-RPs).
After an RP is configured, the RP interface address needs to be advertised using a unicast routing protocol so that each switch on the network has a reachable route to the RP interface.
The system view is displayed.
The loopback interface view is displayed.
An IP address is configured for the loopback interface.
PIM-SM is enabled on the interface.
This command is not required if you configure a static RP.
Return to the system view.
The PIM view is displayed.
Configure a static RP.
Run static-rp rp-address
The loopback interface address is configured as a static RP address.
Configure a dynamic RP.
When configuring dynamic RP, configure candidate bootstrap routers (C-BSRs). Ensure that the C-BSR and the C-RP addresses are different. For details on how to configure a C-BSR, see Configuring a C-BSR.
Run c-rp loopback interface-number
The loopback interface address is configured as a C-RP address.