The pim holdtime assert command sets the timeout period during which a PIM interface keeps the Assert state.
The undo pim holdtime assert command restores the default value of the timeout.
By default, the timeout period during which a PIM interface keeps the Assert state is 180 seconds.
Parameter | Description | Value |
---|---|---|
interval | Specifies the timeout period during which a PIM interface keeps the Assert state. | The value is an integer that ranges from 7 to 65535, 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
On the shared network segment connected to multiple PIM devices, if the same multicast packets reach these PIM devices and pass the RPF check, multiple copies of the same multicast packets are forwarded to this network segment. In this situation, these PIM devices need to initiate the assert mechanism. The device that wins assert election is responsible for multicast forwarding on the shared network segment. Other devices suppress multicast data forwarding and retain the Assert state for a period of time. After the timer for a PIM interface in the Assert state expires, devices that failed the previous election triggers a new round of election.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
The pim holdtime assert command has the same function as the holdtime assert (IPv4) command in the PIM view. By default, if the pim holdtime assert command is not used, 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 holdtime assert 100
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] pim holdtime assert 100