< Home

c-rp holdtime (IPv4)

Function

The c-rp holdtime command configures the holdtime for a received Advertisement message on a BSR.

The undo c-rp holdtime command restores the default holdtime.

By default, the holdtime for a received Advertisement message is 150 seconds.

Format

c-rp holdtime interval

undo c-rp holdtime

Parameters

Parameter Description Value
interval Specifies the timeout period for a BSR to wait the Advertisement message from a C-RP. The value ranges from 1 to 65535, in seconds.

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When interval is set on a C-RP, the C-RP encapsulates interval in an Advertisement message and sends it to the BSR. The BSR obtains this interval from the message and starts the timer. If the BSR receives no Advertisement message from the C-RP within the timeout period, the BSR regards the C-RP invalid or unreachable.

Prerequisites

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

Precautions

You can also set the holdtime for a received Advertisement message when you run the c-rp interface-type interface-number holdtime hold-interval in the PIM view to configure a C-PR interface. The c-rp holdtime hold-interval configures the global holdtime for Advertisement messages. If both the two commands are configured, the holdtime configured by the c-rp interface-type interface-number holdtime hold-interval command takes effect.

Example

# In the PIM view of public network instance, set the holdtime for a received Advertisement message to 100s.

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