< Home

l3-interface regularly-refresh

Function

The l3-interface regularly-refresh command enables periodic l3-interface entry update and configures the periodic l3-interface entry update interval, scanning time for each round of update, and number of entries updated in each round of update.

The undo l3-interface regularly-refresh command restores the default configuration.

By default, periodic l3-interface entry update is enabled, the periodic l3-interface entry update interval is 1 minute, the scanning time for each round of update is 1 second, and the number of entries updated in each round of update is 50.

Product

Support

S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S

Supported

S2720-EI, S5720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI

Not supported

Format

l3-interface regularly-refresh { enable | cycle-interval cycle-interval-value | scan-interval scan-interval-value | entry-number entry-number }

undo l3-interface regularly-refresh { enable | cycle-interval | scan-interval | entry-number }

Parameters

Parameter Description Value
enable

Enables periodic l3-interface entry update.

-

cycle-interval cycle-interval-value

Sets the periodic l3-interface entry update interval.

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

scan-interval scan-interval-value

Sets the scanning time for each round of l3-interface entry update.

The value is an integer that ranges from 1 to 300, in seconds.

entry-number entry-number

Sets the number of entries updated in each round of l3-interface entry update.

The value is an integer that ranges from 1 to 100.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the periodic l3-interface entry update function is configured on a switch, the switch periodically updates l3-interface entries to ensure real-time and effective forwarding of data at the bottom layer and records revision information.

The three parameters, cycle-interval, scan-interval, and entry-number, together determine the periodic l3-interface entry update process. For example, the switch has a total of 500 l3-interface entries:
  • If the three parameters retain their default values, that is, 500 entries need to be updated in 10 rounds and can be checked within 10 second (with the scanning time of each round of update as 1 second), the system is idle during the period between 10 seconds to 1 minute (periodic update interval).
  • If cycle-interval is set to 1 minute, scan-interval is set to 10 seconds, and entry-number retains the default value, 500 entries still need to be updated for 10 rounds, and a total of 100 seconds is required to finish updating these entries. Then the update time will exceed 1 minute, so the switch needs to start periodic update within the next 1 minute. In this situation, periodic update is performed at an interval of 2 minutes.

Precautions

Periodic l3-interface entry update occupies system resources, including CPU and memory resources. A longer check interval and fewer entries indicate a smaller impact on other services. Flexibly configure the l3-interface entry update interval and number of l3-interface entries updated each time based on system resources.

Example

# Enable periodic l3-interface entry update.

<HUAWEI> system-view
[HUAWEI] l3-interface regularly-refresh enable

# Set the periodic l3-interface entry update interval to 10 minutes.

<HUAWEI> system-view
[HUAWEI] l3-interface regularly-refresh cycle-interval 10

# Set the scanning time for each round of l3-interface entry update to 5 seconds.

<HUAWEI> system-view
[HUAWEI] l3-interface regularly-refresh scan-interval 5

# Set the number of entries checked in each round of update to 100.

<HUAWEI> system-view
[HUAWEI] l3-interface regularly-refresh entry-number 100

# Disable periodic l3-interface entry update.

<HUAWEI> system-view
[HUAWEI] undo l3-interface regularly-refresh enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >