Configuring Anycast RP

Restrictions and guidelines

To prevent the other Anycast RP member devices from discarding the BSM sent by the BSR, make sure the Anycast RP address is different from the BSR address.

As a best practice to ensure network performance, configure a maximum of 16 Anycast RP members for an Anycast RP set.

As a best practice, configure the IP address of a loopback interface as the RP member address.

If you configure IP addresses of multiple interfaces on the same device as RP member addresses, the lowest IP address takes effect. The rest of the interface addresses become backup RP member addresses.

An Anycast RP address must be a host address with subnet mask 255.255.255.255.

You must add the device where the Anycast RP resides as an RP member to the Anycast RP set.

Prerequisites

You must configure a static RP or C-RPs in the PIM-SM domain before you configure the Anycast RP. Use the address of the static RP or the dynamically elected RP as the Anycast RP address.

Procedure

  1. Enter system view.

    system-view

  2. Enter PIM view.

    pim [ vpn-instance vpn-instance-name ]

  3. Configure Anycast RP.

    anycast-rp anycast-rp-address member-rp-address

    By default, Anycast RP is not configured.

    You can repeat this command to add multiple RP member addresses to the Anycast RP set.