< Home

pim timer dr-switch-delay

Function

The pim timer dr-switch-delay command enables PIM DR switching delay and configures the delay on an interface. When the interface changed from a DR to a non-DR, the interface continues to forward data before the delay expires.

The undo pim timer dr-switch-delay command disables PIM DR switching delay on the interface.

By default, when the interface changes from a DR to a non-DR, the interface stops forwarding data immediately.

Format

pim timer dr-switch-delay interval

undo pim timer dr-switch-delay

Parameters

Parameter Description Value
interval Specifies the delay. The value is an integer that ranges from 10 to 3600, in seconds.

Views

GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view, tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the DR on a shared network segment becomes the non-DR, original multicast forwarding entries will be deleted immediately, causing multicast data interruption in a short time. To solve the problem, set the DR switching delay. Original multicast forwarding entries still take effect until the delay is reached.

After a new PIM neighbor joins, the outbound interface may not function as a DR any more; however, within the switching delay or before the new DR takes effect to forward multicast traffic, the original outbound interface still has the DR function and continues to forward multicast data. In this manner, non-stop multicast traffic forwarding is ensured during DR switchover.

Prerequisites

IP multicast routing has been enabled using the multicast routing-enable command.

Precautions

This command is valid for only PIM-SM.

This command and pim silent command are mutually exclusive.

Example

# Enable PIM DR switching delay on VLANIF100 and set the delay to 20 seconds.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] pim timer dr-switch-delay 20
# Enable PIM DR switching delay on GE0/0/1 and set the delay to 20 seconds.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] pim timer dr-switch-delay 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >