< Home

c-bsr holdtime (IPv6)

Function

The c-bsr holdtime command configures the timeout period during which the C-BSR waits to receive Bootstrap messages sent by the BSR.

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

By default, the timeout period during which the C-BSR waits to receive Bootstrap messages sent by the BSR is 130s.

Format

c-bsr holdtime interval

undo c-bsr holdtime

Parameters

Parameter Description Value
interval Specifies the timeout time during which C-BSR waits for the Bootstrap message to be sent by BSR. The value is an integer that ranges from 1 to 214748364, in seconds.

Views

PIM-IPv6 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a C-BSR is elected as the BSR, it periodically sends Bootstrap messages carrying its own IPv6 address and the RP-set information. The interval for sending Bootstrap messages is BS_interval, which can be configured using the c-bsr interval command.

Other C-BSRs that fail in the election are suppressed from sending Bootstrap messages and start the timer to monitor the elected BSR. The timeout period of a timer is holdtime, which can be configured using the c-bsr holdtime command.

  • If the C-BSR receives the Bootstrap messages sent by the BSR, the C-BSR refreshes the timer. The C-BSRs that fail in the election also refresh the timeout period of the BSR according to the holdtime.

  • If the timer times out, the elected BSR is considered faulty. The C-BSRs that fail the previous election elect a new BSR. Services are not interrupted.

Prerequisites

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

Precautions

In actual applications, all C-BSRs in the same PIM domain must use the same BS_interval and holdtime. If the configured values are different, the BSR may become unstable. This may result in multicast faults. Note the following points:

  • If BS_interval and holdtime are configured at the same time, ensure that BS_interval is less than holdtime.

  • If BS_interval or holdtime is configured, use the following formula to calculate the other one: holdtime = 2 x BS_interval + 10. The following determines which value is used:

    • If holdtime is configured and the calculated BS_interval is less than the minimum value of BS_interval, the minimum value is used.

    • If BS_interval is configured and the calculated holdtime is more than the maximum value of holdtime, the maximum value is used.

  • If neither BS_interval nor holdtime is configured, the default values are used. The default BS_interval is 60s and the default holdtime is 130s.

Example

# In the PIM-IPv6 view, set the timeout interval during which the C-BSR waits for the Bootstrap message to be sent by BSR to 150 seconds.

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