< Home

holdtime assert (IPv4)

Function

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.

Format

holdtime assert interval

undo holdtime assert

Parameters

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.

Views

PIM view of public network instance or PIM view of VPN instance

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# In the PIM view of public network instance, set the interval during which a switch keeps the Assert state to 100s.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] pim
[HUAWEI-pim] holdtime assert 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >