< Home

pim hello-option holdtime

Function

The pim hello-option holdtime command sets the timeout period during which the PIM interface waits to receive the Hello message from its neighbor.

The undo pim hello-option holdtime command restores the default value of the timeout.

By default, the timeout period during which the PIM interface waits to receive the Hello message from its neighbor is 105 seconds.

Format

pim hello-option holdtime interval

undo pim hello-option holdtime

Parameters

Parameter Description Value
interval Specifies the timeout period during which the PIM interface waits to receive Hello messages from its neighbor. The value is an integer that ranges from 1 to 65535, in seconds.

Views

GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view, tunnel interface view

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.

The pim hello-option holdtime command sets the timeout period during which the PIM interface waits to receive the Hello message from its neighbor.

Prerequisites

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

Precautions

The timeout period must be greater than the interval for sending Hello messages, which is set using the pim timer hello command.

The pim hello-option holdtime command has the same function as the hello-option holdtime (IPv4) command in the PIM 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

# Set the timeout period during which VLANIF100 waits to receive Hello messages from its neighbor to 120 seconds.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] pim hello-option holdtime 120
# Set the timeout period during which GE0/0/1 waits to receive Hello messages from its neighbor to 120 seconds.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] pim hello-option holdtime 120
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >