The c-rp command configures a candidate-rendezvous point (C-RP) on a Router, so that the Router can announce itself as a C-RP to the bootstrap router (BSR).
The undo c-rp command deletes a C-RP.
By default, no C-RP is configured.
Parameter | Description | Value |
---|---|---|
ipv6-address |
Specifies a IPv6 address. |
The value is a 128-digit hexadecimal number in the format of X:X::X:X. |
group-policy basic-acl6-number |
Specifies the range of multicast groups that a C-RP serves. You can define the range of multicast groups by creating an IPv6 ACL. groupPolicyNum specifies the number of a basic IPv6 ACL. |
The value is an integer ranging from 2000 to 2999. |
acl6-name acl6-name |
Specifies the name of a named basic IPv6 ACL. |
The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive). |
priority priority |
Specifies a priority value for a C-RP. A larger value indicates a lower C-RP priority. |
The value is an integer ranging from 0 to 255. The default value is 192. |
holdtime hold-interval |
Specifies a timeout period during which a BSR waits to receive an Advertisement message from a C-RP. |
The value is an integer ranging from 1 to 65535, in seconds. The default value is 150. |
advertisement-interval adv-interval |
Specifies an interval at which a C-RP sends Advertisement messages. |
The value is an integer ranging from 1 to 65535, in seconds. The default value is 60. |
Usage Scenario
An RP is the core of a PIM-SM domain, and thus a C-RP must be able to communicate with the other devices in the PIM-SM domain. Configuring a C-RP on the Router on the backbone network and reserving enough bandwidth between the Router and each of the other devices in the PIM-SM domain are recommended.
An RP is elected from C-RPs based on the following rules:Prerequisites
Configuration Impact
If the c-rp command is run more than once, the latest configuration overrides the previous one.As an interface is specified in the c-rp command, the values of group-policy, priority, holdtime, and advertisement-interval specified in this command override the values of the global parameters inherited by the interface from the PIM view. If this command is run on the same interface more than once, the latest configuration overrides the previous one.
Precautions
groupPolicyNum specifies a group range. All permitted group ranges will be advertised as the ranges of groups that the RP serves. If no group range is specified for a C-RP or a C-RP is configured to serve all addresses, the C-RP serves all multicast groups.
If the router functioning as a C-RP is required to serve multiple group address ranges, configure multiple rules for an IPv6 ACL used by a group policy, with a group address range defined in each rule.<HUAWEI> system-view [~HUAWEI] multicast ipv6 routing-enable [*HUAWEI] acl ipv6 2069 [*HUAWEI-acl6-basic-2069] rule permit source ff02:0:1391:: 96 [*HUAWEI-acl6-basic-2069] quit [*HUAWEI] pim-ipv6 [*HUAWEI-pim6] c-rp 2001::1 group-policy 2069 priority 10