< Home

ipv6 fib regularly-refresh

Function

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

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

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

Format

ipv6 fib regularly-refresh { interval interval | entry-number entry-number | cycle-interval cycle-interval }

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

Parameters

Parameter Description Value
interval interval Specifies an interval at which IPv6 FIB entries are refreshed. The value is an integer ranging from 1 to 300, in seconds.
entry-number entry-number Specifies the number of IPv6 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 IPv6 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 IPv6 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 IPv6 FIB entries in cycles. The cycle-interval parameter specifies the interval for IPv6 FIB entry update per cycle. Note that the cycle-interval, interval, and entry-number parameters together determine the IPv6 FIB entry update process. As an example, assume that a device has 500 IPv6 FIB entries.
  • If the three parameters use default values, the 500 IPv6 FIB entries are updated in 10 cycles (with 50 IPv6 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

IPv6 FIB 24-hour refresh has been enabled. By default, this function has been enabled. If not, run the undo ipv6 fib regularly-refresh disable command in the system view to enable it.

Example

# Set an interval at which IPv6 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 >