The pim ipv6 holdtime assert command sets the timeout period during which a PIM interface keeps the Assert state.
The undo pim ipv6 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, VLANIF interface view, loopback 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 routers need to initiate the assert mechanism. The router 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, the device that fails to be elected triggers a new round of election.
Prerequisites
IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.
Precautions
This command is valid for PIM-SM (IPv6) and PIM-DM (IPv6).
The pim ipv6 holdtime assert command has the same function as the holdtime assert (IPv6) command in the PIM-IPv6 view. By default, if the pim ipv6 holdtime assert command is not used, the value configured in the PIM-IPv6 view is used; otherwise, the value configured in the interface view is used.
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] pim ipv6 holdtime assert 100
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] pim ipv6 holdtime assert 100