< Home

c-rp holdtime (IPv4)

Function

The c-rp holdtime command configures the timeout period for a BSR to wait to receive the Advertisement message from a C-RP.

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

Format

c-rp holdtime interval

undo c-rp holdtime

Parameters

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

Views

PIM view

Default Level

2: Configuration level

Usage Guidelines

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 does not receive the Advertisement message from the C-RP after the timeout period expires, the BSR regards the C-RP in the current network invalid or unreachable.

The function of this command is the same as that of the c-rp interface-type interface-number holdtime hold-interval command, except for the function range. The c-rp holdtime interval command is globally valid, whereas the c-rp interface-type interface-number holdtime hold-interval command is valid only for a specified interface.

The system prefers the configuration done by using the c-rp interface-type interface-number holdtime hold-interval command. When the c-rp interface-type interface-number holdtime hold-interval command is not run, the configuration done by using the c-rp holdtime interval command is used.

Example

# Set the timeout period for a C-RP to send Advertisement messages to 100s.

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