< Home

l3-forward-entry regularly-check

Function

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

Format

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 }

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

The three parameters, cycle-interval, interval, and entry-number, together determine the periodic l3-forward-entry check process. For example, the device has a total of 2,000 l3-forward-entries:
  • If the three parameters use their default values, that is, 2,000 entries need to be checked in 10 rounds of check and can be checked within 10 seconds (with the scanning time of each round of check as 1 second), the system is idle during the period between 10 seconds to 1 minutes (periodic check interval).
  • If cycle-interval is set to 1 minute, interval is set to 10 seconds, and entry-number uses the default value, 2,000 entries still need to be updated for 10 rounds of check, and a total of 100 seconds is required to finish updating these entries. Then the update time will exceed 1 minute, so the device 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-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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >