The pim hello-option lan-delay command sets the delay in transmitting messages in a shared network in the interface view.
The undo pim hello-option lan-delay command restores the default value of the delay.
By default, the delay in transmitting messages in the shared network is 500 ms.
Parameter | Description | Value |
---|---|---|
interval | Specifies the delay in transmitting messages in the shared network. | The value is an integer that ranges from 1 to 32767, in milliseconds. |
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
Hello messages sent from switches carry lan-delay and override-interval values. The lan-delay parameter indicates the delay in transmitting messages in the LAN. If switches on the same link have different lan-delay values, the maximum value is used.
When a switch sends a Prune message to the upstream device in the same network segment, other switches that still request multicast data need to send a Join message to the upstream device within the override-interval period.
The value of the Prune-Pending Timer (PPT) is the sum of the lan-delay and override-interval values, and refers to the delay from the switch receiving a Prune message from the downstream interface to performing the prune action. If the switch receives a Join message from the downstream interface in PPT, the switch cancels the prune action.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
This command is valid for PIM-SM and PIM-DM.
If the prune delay is set too short, the upstream switch stops forwarding multicast packets before the downstream switch overrides Prune messages of neighbors. Exercise caution when you run this command.
The function of this command in the interface view is the same as that of the hello-option lan-delay (IPv4) command in the PIM view. By default, if the configuration on the interface is not performed, the value configured in the PIM view is used; otherwise, the value configured in the interface view is used.
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] pim hello-option lan-delay 200
<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 lan-delay 200