pim timer dr-switch-delay (Mtunnel view)

Function

The pim timer dr-switch-delay command enables the PIM designated router (DR) switching delay function and configures a switching delay on an interface.

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

By default, the PIM DR switching delay function is disabled on an interface.

Format

pim timer dr-switch-delay interval

undo pim timer dr-switch-delay

Parameters

Parameter Description Value
interval

Specifies a DR switching delay.

The value is an integer ranging from 10 to 3600, 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

Without the PIM DR switching delay function, when the system triggers a PIM DR switchover, the switchover takes effect immediately, and therefore data forwarding will be interrupted during the switchover period. If the network is unstable, frequent switchovers occur, affecting the multicast forwarding performance. To address this issue, run the pim timer dr-switch-delay command to configure a PIM DR switching delay to implement non-stop service forwarding during the switchover.

Configuration Impact

After an outbound interface changes from a DR to a non-DR, the PIM DR switching delay function enables the interface to continue to forward data before the delay expires.

Precautions

The configuration of deleting or changing a DR switching delay takes effect only after the current switching delay expires.

The pim timer dr-switch-delay command is mutually exclusive with the pim silent command.

Example

# Enable the PIM DR switching delay function on Mtunnel 10 and set the delay to 20 seconds.
<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 timer dr-switch-delay 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >