c-bsr priority

Function

The c-bsr priority command globally sets a priority value for candidate-bootstrap routers (C-BSRs).

The undo c-bsr priority command restores the default setting.

By default, the global priority value of C-BSRs is 0.

Format

c-bsr priority priority

undo c-bsr priority

Parameters

Parameter Description Value
priority

Specifies a global priority value for C-BSRs. A larger value indicates a higher C-BSR priority.

The value is an integer ranging from 0 to 255.

Views

IPv6 PIM view, VPN instance IPv6 PIM view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pim write

Usage Guidelines

Usage Scenario

If multiple C-BSRs are deployed in a PIM-SM domain, a BSR is elected based on the following rules:

  • The C-BSR with the highest priority wins.
  • If the C-BSRs have the same priority, the C-BSR with the largest IP address wins.

    To have a C-BSR be elected as the BSR, run the c-bsr priority command to set a larger priority value for the C-BSR than those of the other C-BSRs.

Prerequisites

The multicast routing function has been enabled using the multicast ipv6 routing-enable command in the public network instance view.

Configuration Impact

If the c-bsr priority command is run more than once, the latest configuration overrides the previous one.

Precautions

The priority value set using the c-bsr priority command is effective for all C-BSRs configured on the router. The c-bsr command can be used to change the priority of a C-BSR configured on a specified interface.

The c-bsr command is valid only for the specified interface. When both the c-bsr priority command and the c-bsr command are run, the system prefers the configuration of the c-bsr command.

Example

# In the public network instance, specify 5 as the global priority value for C-BSRs.
<HUAWEI> system-view
[~HUAWEI] multicast ipv6 routing-enable
[*HUAWEI] pim-ipv6
[*HUAWEI-pim6] c-bsr priority 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >