< Home

hello-option holdtime (IPv4)

Function

The hello-option holdtime command sets the timeout period for a switch to wait to receive Hello messages from its PIM neighbor.

The undo hello-option holdtime command restores the default configuration.

By default, the timeout period for a switch to wait to receive Hello messages from its PIM neighbor is 105 seconds.

Format

hello-option holdtime interval

undo hello-option holdtime

Parameters

Parameter Description Value
interval Specifies the timeout time during which a switch waits to receive a Hello message from its PIM neighbor. The value is an integer ranging 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

On a PIM network, after the switch receives a Hello message from its PIM neighbor, it starts a timer. The timer length is the value of Holdtime in the Hello message. If the switch does not receive any Hello message from its PIM neighbor when the timer expires, it considers the neighbor invalid or unreachable.

Prerequisites

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

Precautions

  • The hello-option holdtime command is valid for PIM-SM and PIM-DM.

  • The timeout period must be greater than the interval for sending Hello messages. You can run the timer hello command to set the interval for sending Hello messages.

  • The hello-option holdtime command has the same function as the pim hello-option holdtime command in the interface view. By default, if the pim hello-option holdtime command is not used, the value configured in the PIM view is used; otherwise, the value configured in the interface view is used.

Example

# In the PIM view of public network instance, set the timeout interval to 120 seconds. The timeout interval is the period during which a switch waits to receive the Hello message from its PIM neighbor.

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