< Home

c-rp priority (IPv6)

Function

The c-rp priority command configures the global C-RP priority.

The undo c-rp priority command restores the default configuration.

By default, the global C-RP priority is 192.

Format

c-rp priority priority

undo c-rp priority

Parameters

Parameter Description Value
priority Specifies the global C-RP priority. The value is an integer that ranges from 0 to 255. A larger value indicates a lower priority.

Views

PIM-IPv6 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The following rules are used to elect an RP from multiple C-RPs, in descending order of precedence:

  • The C-RP with the interface address that has the longest mask wins.

  • The C-RP with highest priority wins.

  • The C-RP with the largest hash value wins.

  • The C-RP with the largest IPv6 address wins.

To enable a C-RP to function as an RP, you can run the c-rp priority command to increase the priority of the C-RP.

Prerequisites

IPv6 multicast routing has been enabled globally using the multicast ipv6 routing-enable command in the system view.

Precautions

You can also run the c-rp ipv6-address priority priority command in the PIM-IPv6 view to configure the C-RP priority while configuring a C-RP. The c-rp priority priority command specifies the global C-RP priority. If both the two commands are configured, the priority configured by the c-rp ipv6-address priority priority command takes effect.

Example

# In the PIM-IPv6 view, set the global C-RP priority to 5.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] pim-ipv6
[HUAWEI-pim6] c-rp priority 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >