pim holdtime assert

Function

The pim holdtime assert command sets a timeout period during which a PIM interface waits to receive Assert messages from the forwarder.

The undo pim holdtime assert command restores the default timeout period.

By default, the timeout period of an interface is 180 seconds.

Format

pim holdtime assert interval

undo pim holdtime assert

Parameters

Parameter Description Value
interval

Specifies a timeout period during which a PIM interface waits to receive Assert messages from the forwarder.

The value is an integer ranging from 7 to 65535, in seconds.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, PW-VE sub-interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Virtual template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pim write

Usage Guidelines

Usage Scenario

To prevent redundant traffic, a shared network segment should have only one forwarder. Therefore, each router sends an Assert message immediately after its forwarding interface receives the same multicast packet on a shared network segment, which indicates that more than one forwarder exists. Then, the routers elect a unique forwarder, called the assert winner. The assert winner periodically sends Assert messages to maintain its winner state. The router that fails in the election disable its downstream interfaces from forwarding multicast data within a specified timeout period, but restore the pruned interfaces to forward packets if they do not receive any Assert messages from the assert winner after the timeout period expires. To set such a timeout period, run the pim holdtime assert command.

Prerequisites

The multicast routing function has been enabled using the multicast routing-enable command in the public network instance view or VPN instance view.

Example

# Specify 100 seconds as the timeout period during which GE 0/1/0 waits to receive Assert messages from the forwarder.
<HUAWEI> system-view
[~HUAWEI] multicast routing-enable
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] undo portswitch
[*HUAWEI-GigabitEthernet0/1/0] pim holdtime assert 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >