< Home

c-bsr priority (IPv6)

Function

The c-bsr priority command configures the global C-BSR priority.

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

By default, the global C-BSR priority is 0.

Format

c-bsr priority priority

undo c-bsr priority

Parameters

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

Views

PIM-IPv6 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When multiple C-BSRs participate in the BSR election in the PIM-SM domain:

  • The switch with the highest priority wins in the BSR election.

  • If they have the same priority, the switch with the largest IPv6 address wins in the BSR election.

To enable a C-BSR to function as the BSR, you can run the c-bsr priority command to increase the priority value of the C-BSR.

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-bsr ipv6-address hash-length priority command in the PIM-IPv6 view to set the C-BSR priority while configuring a C-BSR. The c-bsr priority priority command sets the global priority. When both the two commands are configured, the priority configured by the c-bsr ipv6-address hash-length priority command takes effect.

Example

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

<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 >