anycast-rp (PIM view)
Use anycast-rp to add an anycast RP member to an Anycast RP set.
Use undo anycast-rp to remove an anycast RP member from an Anycast RP set.
Syntax
anycast-rp anycast-rp-address member-address
undo anycast-rp anycast-rp-address member-address
Default
No Anycast RP sets exist.
Views
PIM view
Predefined user roles
network-admin
Parameters
anycast-rp-address: Specifies an Anycast RP address. It must be a legal unicast IP address that is not in the range of 127.0.0.0/8.
member-address: Specifies an Anycast RP member address. It must be a legal unicast IP address that is not in the range of 127.0.0.0/8 and must be different from the Anycast RP address.
Usage guidelines
To add multiple RP member addresses to an Anycast RP set, execute this command multiple times with the same Anycast RP address but different RP member addresses.
To configure multiple Anycast RP sets, execute this command multiple times with different Anycast RP addresses.
Examples
# Add Anycast RP members 1.1.0.1 and 1.2.0.1 to Anycast RP set 1.1.0.0 on the public network.
<Sysname> system-view [Sysname] pim [Sysname-pim] anycast-rp 1.1.0.0 1.1.0.1 [Sysname-pim] anycast-rp 1.1.0.0 1.2.0.1
Related commands
display pim rp-info