< Home

fib regularly-refresh

Function

The fib regularly-refresh command configures the entire FIB entry update interval, FIB entry update interval per cycle, and the number of FIB entries updated per cycle.

The undo fib regularly-refresh command restores the default entire FIB entry update interval, FIB entry update interval per cycle, and the number of FIB entries updated per cycle.

By default, the entire FIB entry update interval is 1 minute, the FIB entry update interval per cycle is 1 second, and the number of FIB entries updated per cycle is 50.

Format

fib regularly-refresh { interval interval [ entry-number entry-number ] | entry-number entry-number | cycle-interval cycle-interval }

undo fib regularly-refresh { interval interval [ entry-number entry-number ] | entry-number entry-number | cycle-interval cycle-interval }

Parameters

Parameter Description Value
interval interval Specifies an interval at which FIB entries are refreshed. The value is an integer ranging from 1 to 300, in seconds.
entry-number entry-number Specifies the number of FIB entries refreshed per circle. The value is an integer ranging from 20 to 2000.
cycle-interval cycle-interval Specifies the entire interval at which FIB entries are updated.

The value is an integer ranging from 1 to 1440, in minutes.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Regular FIB entry refreshing occupies system resources, including CPU and memory resources. A longer interval and smaller number result in less impact on other services. You can flexibly configure the interval and number based on system resources.

To allow underlying data to be forwarded in real-time and effective ways, you can configure a device to update FIB entries in cycles. The cycle-interval parameter specifies the interval for FIB entry update per cycle. Note that the cycle-interval, interval, and entry-number parameters together determine the FIB entry update process. As an example, assume that a device has 500 FIB entries.
  • If the three parameters use default values, the 500 FIB entries are updated in 10 cycles (with 50 FIB entries updated in each cycle), and the entry update can be completed within 10s (1s for each cycle). The device stays idle from 10s to 1 minute (entire FIB entry update interval).
  • If interval is set to 10s and cycle-interval and entry-number keep their default values, the 500 IPv6 FIB entries are still updated in 10 cycles, taking a total of 100s. In this case, the update period exceeds 1 minute, and then device cycles update from the next minute (a total of 2 minutes at this point). That is, the device updates IPv6 FIB entries at an interval of 2 minutes.

Prerequisites

Regular FIB entry refreshing has been enabled using the undo fib regularly-refresh disable command in the system view.

Example

# Set an interval at which FIB entries are refreshed to 5 seconds and the number of FIB entries refreshed per circle to 200.

<HUAWEI> system-view
[HUAWEI] fib regularly-refresh interval 5 entry-number 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >