The pim timer hello command sets the interval for sending Hello messages on an interface.
The undo pim timer hello command restores the default value of the interval.
By default, the interval for sending Hello messages on an interface is 30 seconds.
Parameter | Description | Value |
---|---|---|
interval | Specifies the interval for sending Hello messages. | The value is an integer that ranges from 1 to 18000, in seconds. |
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
Usage Scenario
PIM devices periodically send Hello messages to maintain PIM neighbor relationships. You can run the pim timer hello command to set the interval for sending Hello messages.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
This command is valid for both PIM-DM and PIM-SM.
The interval for sending Hello messages must be shorter than the timeout period of PIM neighbors, which is set using the hello-option holdtime (IPv4) command.
The configuration is the same as the timer hello (IPv4) command in the PIM view but takes precedence over the command used in the PIM view. The value configured in the PIM view is used if no value is configured on the interface.
# Set the interval for sending Hello messages to 40 seconds on VLANIF100.
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] pim timer hello 40
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] pim timer hello 40