The l3-forward-entry regularly-check command enables periodic l3-forward-entry check and sets the periodic l3-forward-entry check interval, scanning time for each round of check, and number of entries checked in each round of check.
The undo l3-forward-entry regularly-check command restores the default settings of periodic l3-forward-entry check.
By default, periodic l3-forward-entry check is enabled, the periodic l3-forward-entry check interval is 1 minutes, the scanning time for each round of check is 1 second, and the number of entries checked in each round of check is 200.
Product |
Support |
---|---|
S5720-EI, 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, 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-forward-entry regularly-check { enable | cycle-interval cycle-interval-value | interval interval-value | entry-number number }
undo l3-forward-entry regularly-check { enable | cycle-interval | interval | entry-number }
Parameter | Description | Value |
---|---|---|
enable | Enables periodic l3-forward-entry check |
- |
cycle-interval cycle-interval-value | Sets the periodic l3-forward-entry check interval. |
The value is an integer that ranges from 1 to 1440, in minutes. |
interval interval-value | Sets the scanning time for each round of l3-forward-entry check. |
The value is an integer that ranges from 1 to 300, in seconds. |
entry-number number | Sets the number of entries checked in each round of check. |
The value is an integer that ranges from 20 to 2000. |
Usage Scenario
After periodic l3-forward-entry check is configured, the device periodically checks l3-forward-entries to ensure realtime and valid bottom-layer forwarded data and records the check result. The check result can help locate problems of Layer 3 forwarding software resource leak and residual Layer 3 forwarding hardware entries.
Precautions
Periodic l3-forward-entry check occupies system resources, including CPU and memory resources. A longer check interval and fewer entries indicate a smaller impact on other services. You can flexibly configure the l3-forward-entry check interval and number of checked entries based on system resources.
# Enable periodic l3-forward-entry check.
<HUAWEI> system-view [HUAWEI] l3-forward-entry regularly-check enable
# Set the periodic l3-forward-entry check interval to 10 minutes.
<HUAWEI> system-view [HUAWEI] l3-forward-entry regularly-check cycle-interval 10
# Set the scanning time for each round of l3-forward-entry check to 5 seconds.
<HUAWEI> system-view [HUAWEI] l3-forward-entry regularly-check interval 5
# Set the number of entries checked in each round of check to 500.
<HUAWEI> system-view [HUAWEI] l3-forward-entry regularly-check entry-number 500
# Disable periodic l3-forward-entry check.
<HUAWEI> system-view [HUAWEI] undo l3-forward-entry regularly-check enable