No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
set flow-stat interval

set flow-stat interval

Function

The set flow-stat interval command sets the interval for collecting the traffic statistics on interfaces.

The undo set flow-stat interval command restores the default interval for collecting traffic statistics on interfaces.

By default, the interval for collecting traffic statistics on interfaces is 300 seconds.

Format

set flow-stat interval interval-time

undo set flow-stat interval

Parameters

Parameter

Description

Value

interval-time

Specifies the interval for collecting traffic statistics on interfaces.

The value is an integer that ranges from 10 to 600, in seconds. In addition, the value must be a multiple of 10. The default value is 300s.

Views

System view, interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By using the set flow-stat interval command to set the interval for collecting traffic statistics on interfaces, you can collect and analyze traffic statistics according to your needs. You can also take traffic control measures based on the traffic statistics to prevent network congestion and service interruption.

  • When congestion occurs, set the interval for collecting traffic statistics on an interface to less than 300 seconds, or 30 seconds if congestion worsens. Then observe the traffic distribution on the interface within a short period of time. If data packets cause congestion, take proper measures to control the rate of the packets.

  • When the network bandwidth is sufficient and services are running properly, set the interval for collecting traffic statistics on an interface to more than 300 seconds. If the value of any traffic parameter is not within the specified range, change the interval for collecting traffic statistics to observe the traffic volume in real time.

Precautions

  • The interval configured in the system view takes effect on all the interfaces that use the default interval.

  • The interval configured in the interface view takes effect only on the current interface.

  • The interval configured in the interface view takes precedence over the interval configured in the system view.

  • The new interval takes effect after the original interval expires. Traffic statistics on logical interfaces are displayed in the second periodical update after the new interval takes effect. Traffic statistics on physical interfaces are displayed when the new interval takes effect.

Example

# Set the interval for collecting traffic statistics on Eth0/0/1 to 400s.

<Huawei> system-view
[Huawei] interface ethernet 0/0/1
[Huawei-Ethernet0/0/1] set flow-stat interval 400
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 52820

Downloads: 102

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next