c-rp (IPv6 PIM view)
Use c-rp to configure a candidate-RP (C-RP).
Use undo c-rp to remove the configuration of a C-RP.
Syntax
c-rp ipv6-address [ advertisement-interval adv-interval | { group-policy ipv6-acl-number | scope scope-id } | holdtime hold-time | priority priority ] * [ bidir ]
undo c-rp ipv6-address
Default
No C-RPs exist.
Views
IPv6 PIM view
Predefined user roles
network-admin
mdc-admin
Parameters
ipv6-address: Specifies the IPv6 address of a C-RP. You must specify the IPv6 address of a local IPv6 PIM interface.
advertisement-interval adv-interval: Specifies a C-RP advertisement message interval in the range of 1 to 65535 seconds. The default is 60 seconds.
group-policy ipv6-acl-number: Specifies an IPv6 basic ACL number by its number in the range of 2000 to 2999. If you specify an ACL, this command designates the C-RP to IPv6 multicast groups in C-RP advertisement messages that the ACL permits. The C-RP is designated to all IPv6 multicast groups when one of the following conditions exists:
You do not specify an ACL.
The specified ACL does not exist.
The specified ACL does not have valid rules.
scope scope-id: Specifies an IPv6 admin-scoped zone by its ID in the range of 3 to 15.
holdtime hold-time: Specifies a C-RP lifetime in the range of 1 to 65535 seconds. The default is 150 seconds.
priority priority: Specifies a C-RP priority in the range of 0 to 255. The default is 192. The greater the value, the lower the priority.
bidir: Specifies IPv6 BIDIR-PIM to which the C-RP is designated. If you do not specify this keyword, the C-RP provides services for IPv6 PIM-SM.
Usage guidelines
To designate a C-RP to multiple IPv6 multicast group ranges, create multiple rules that specify different IPv6 multicast group ranges in the ACL.
When you configure a rule in the IPv6 basic ACL, follow these restrictions and guidelines:
For the rule to take effect, do not specify the vpn-instance vpn-instance option.
The source source-address source-prefix option specifies an IPv6 multicast group range.
Among the other optional parameters, only the fragment keyword and the time-range time-range-name option take effect.
If you execute this command by using the same IPv6 address of a C-RP multiple times, the most recent configuration takes effect.
Examples
# Configure the interface with IPv6 address 2001::1 as the C-RP for IPv6 multicast group range FF0E:0:1391::/96, and set its priority to 10 on the public network.
<Sysname> system-view [Sysname] acl ipv6 basic 2000 [Sysname-acl-ipv6-basic-2000] rule permit source ff0e:0:1391:: 96 [Sysname-acl-ipv6-basic-2000] quit [Sysname] ipv6 pim [Sysname-pim6] c-rp 2001::1 group-policy 2000 priority 10