pim holdtime assert(Mtunnel View)

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

MTI interface view, Mtunnel 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.

Configuration Impact

If the pim holdtime assert command is run more than once, the latest configuration overrides the previous one.

Example

# Specify 100 seconds as the timeout period during which Mtunnel10 waits to receive Assert messages from the forwarder.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance mytest
[*HUAWEI-vpn-instance-mytest] ipv4-family
[*HUAWEI-vpn-instance-mytest-af-ipv4] route-distinguisher 100:1
[*HUAWEI-vpn-instance-mytest-af-ipv4] multicast routing-enable
[*HUAWEI-vpn-instance-mytest-af-ipv4] multicast-domain share-group 224.1.1.1 binding mtunnel 10
[*HUAWEI-vpn-instance-mytest-af-ipv4] commit
[~HUAWEI-vpn-instance-mytest-af-ipv4] quit
[~HUAWEI-vpn-instance-mytest] quit
[~HUAWEI] interface Mtunnel 10
[~HUAWEI-MTunnel10] pim holdtime assert 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >