< Home

c-bsr priority (IPv4)

Function

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

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

By default, the global priority of the C-BSR 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 greater the value, the higher the priority of the C-BSR. The value is an integer that ranges from 0 to 255.

Views

PIM view of public network instance or PIM view of VPN instance

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When multiple C-BSRs take part in the BSR election in the PIM-SM domain, the following situations occur:

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

  • If they have the same priority, the switch with the largest IP 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

IP multicast routing has been enabled using the multicast routing-enable command.

Precautions

You can run the c-bsr interface-type interface-number priority command in the PIM view to configure the C-BSR interface and specify the C-BSR priority. The c-bsr priority priority command specifies the global C-BSR priority. If both c-bsr interface-type interface-number priority and c-bsr priority priority are used, the c-bsr interface-type interface-number priority command takes effect.

Example

# In the PIM view of public network instance, configure the global priority of the C-BSR to 5.

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