avoid-microloop frr-protected rib-update-delay (OSPF view)

Function

The avoid-microloop frr-protected rib-update-delay command configures a delay after which OSPF delivers routes.

The undo avoid-microloop frr-protected rib-update-delay command restores the default delay.

By default, the delay is 100 ms.

Format

avoid-microloop frr-protected rib-update-delay rib-update-delay

undo avoid-microloop frr-protected rib-update-delay

Parameters

Parameter Description Value
rib-update-delay

Specifies a delay after which OSPF delivers routes.

The value is an integer ranging from 100 to 5000, in ms. Keeping the default delay is recommended.

Views

OSPF view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

If OSPF remote LFA FRR is enabled and the primary link fails, traffic is switched to the backup link. If route convergence occurs again, traffic is switched from the backup link to a new primary link. During the switchover, microloop may occur. To prevent this problem, OSPF anti-microloop is enabled by default and delays the switching. To configure a delay after which OSPF delivers routes, run the avoid-microloop frr-protected rib-update-delay command. After the command is run, OSPF does not switch traffic to the backup link in the preceding scenario until the delay elapses.

Prerequisites

OSPF has been enabled using the ospf command.

Example

# Configure OSPF to delay route delivery for 2000 ms.
<HUAWEI> system-view
[~HUAWEI] ospf
[*HUAWEI-ospf-1] avoid-microloop frr-protected rib-update-delay 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >