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 |
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 }
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. |
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.
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.
# 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