< Home

vxlan regularly-refresh

Function

The vxlan regularly-refresh command sets the interval at which VXLAN-related entries are updated periodically, the interval between two rounds of updates, and the number of entries updated in each round.

The undo vxlan regularly-refresh command restores the default configuration.

By default, the interval at which VXLAN-related entries are updated periodically is 1 minute, the interval between two rounds of updates is 1 second, and the number of entries updated in each round is 50.

Format

vxlan regularly-refresh { interval interval | entry-number entry-number | cycle-interval cycle-interval }

undo vxlan regularly-refresh { interval | entry-number | cycle-interval }

Parameters

Parameter

Description

Value

interval interval

Specifies the interval between two rounds of VXLAN-related entry updates.

The value is an integer in the range from 1 to 300, in seconds.

entry-number entry-number

Specifies the number of VXLAN-related entries updated in each round.

The value is an integer in the range from 1 to 100.

cycle-interval cycle-interval

Specifies the interval at which VXLAN-related entries are updated periodically.

The value is an integer in the range from 1 to 1440, in minutes.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The device supports periodic update of VXLAN-related entries to ensure the real-timeliness and validity of the underlying forwarding data. Periodic update of VXLAN-related entries consumes system resources, including CPU and memory resources. A longer update interval and a smaller number of updated entries have less impact on other services in the system. You can flexibly configure the interval at which VXLAN-related entries are updated periodically and the number of updated entries based on system resource usage.

Prerequisites

Before running this command, ensure that periodic update of VXLAN-related entries has been enabled. By default, this function is enabled. If this function is disabled, run the undo vxlan regularly-refresh disable command in the system view to enable it.

Example

# Set the interval between two rounds of VXLAN-related entry updates to 5 seconds.

<HUAWEI> system-view 
[HUAWEI] vxlan regularly-refresh interval 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >