The holdtime assert command sets the timeout period for all PIM interfaces to keep the Assert state on the local switch.
The undo holdtime assert command restores the default timeout.
By default, the timeout period for all PIM interfaces to keep the Assert state on the local switch is 180 seconds.
Parameter | Description | Value |
---|---|---|
interval | Specifies the time during which the PIM interface keeps the Assert state. | The value is an integer that ranges from 7 to 65535, in seconds. |
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, the device that fails to be elected triggers a new round of election.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
The holdtime assert command is valid for PIM-SM and PIM-DM.
The holdtime assert command has the same function as the pim holdtime assert command in the interface view. By default, if the timeout period is not used on an interface, the timeout period configured in the PIM view is used.